Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1092695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T23:43:20+00:00 2026-05-16T23:43:20+00:00

Simplely derived from GridViewColumnHeader without styling, class SampleHeader : GridViewColumnHeader {} and use it

  • 0

Simplely derived from GridViewColumnHeader without styling,

class SampleHeader : GridViewColumnHeader
{}

and use it like:

<StackPanel Orientation="Horizontal">
  <SampleHeader Content="Col1" />
  <SampleHeader Content="Col2" />
</StackPanel>

Very simple, but in runtime, the thumb cursor will not change to resizing cursor.

I try to use the standard one, it works correctly, now i had to run a dummy once to make the correct resizing cursor fired in SampleHeader.

Is it a bug or else ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T23:43:20+00:00Added an answer on May 16, 2026 at 11:43 pm

    Yeah, it appears to be a bug. There’s a code in the GridViewColumnHeader’s private GetCursor(int) method that retrieves the SplitCursor by doing something like this:

    Assembly assembly = base.GetType().Assembly;
    ...
    cursorStream = assembly.GetManifestResourceStream("split.cur");
    

    This is supposed to get the split cursor from the PresentationFramework.dll assembly (which contains the GridViewColumnHeader class).

    When you derive from it though, the call to “base.GetType().Assembly” will return the Assembly containing your derived class, and therefore will not find the split cursor. Thus, the cursor will not change when you hover over the thumb. Yet, the (invisible) splitters are still draggable though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Right now in my code I have like 6-8 diffrent timers that have diffrent
When I moved a paragraph of javascript code from a php file to a
How can i disable explorer.exe from startup? (need it to boost my only-gaming pc)
I'm using jQuery's datepicker plugin in .NET ASP MVC3 intranet application. User that use
I have tried using drag n drop to place the control as well as
I am working on a transportation problem and cannot leap this hurdle. I am
In response to this error where pages are delivered incorrectly , we're considering a
I am trying to implement a simpley portscanner with Python. It works by creating
I have a web site solution (asp.net) that runs on a SQL server database.
I have an int array with some values inside it, and its size is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.