You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried the MaterialSkinExample project on my machine and noticed the MaterialListView's column headers seem to be drawn like regular winforms ListView headers.
Example:
I've inspected the issue and it seems the overridden method OnDrawColumnHeader is not called.
(I Used a breakpoint at the beginning of the method and it was never reached.)
Usually this means either the View property isn't set to View.Details or the DrawOwner is false but those are taken care of in the constructor.
Furthermore, I tried adding an overriden OnDrawSubItem to MaterialListView.cs and this one WAS called.
( This method have the same "requirements" as the OnDrawColumnHeader - Details View, DrawOwner=true)
I've tried:
Running in both debug and release
Changing my visual theme: Aero/Windows 7 Basic/Windows Classic
Subscribing manually to the DrawColumnHeader event - from within the control and from the owner form.
None of these worked.
The text was updated successfully, but these errors were encountered:
theXappy
changed the title
MaterialListView Column Headers now drawn correctly
MaterialListView Column Headers not drawn correctly
Nov 6, 2015
I tried the MaterialSkinExample project on my machine and noticed the MaterialListView's column headers seem to be drawn like regular winforms ListView headers.
Example:
I've inspected the issue and it seems the overridden method OnDrawColumnHeader is not called.
(I Used a breakpoint at the beginning of the method and it was never reached.)
Usually this means either the View property isn't set to View.Details or the DrawOwner is false but those are taken care of in the constructor.
Furthermore, I tried adding an overriden OnDrawSubItem to MaterialListView.cs and this one WAS called.
( This method have the same "requirements" as the OnDrawColumnHeader - Details View, DrawOwner=true)
I've tried:
None of these worked.
The text was updated successfully, but these errors were encountered: