Gets a value indicating whether the painted element is pressed.
true if the painted element is pressed by an end-user; otherwise false.
The TreeList.CustomDrawColumnHeader event gives you the ability to perform custom painting of both column headers and the column button. The event parameter properties allow you to determine the current state of the painted element. If the Pressed property returns true, the painted element is currently in a pressed state.
Column headers support a hot tracked state. Use the CustomDrawColumnHeaderEventArgs.HotTrack property to determine whether a column header is hot tracked (the mouse pointer hovers over it).
Use the above mentioned properties to provide varying look & feel for column headers and the column button in different states. They can also be used to perform custom painting for certain states of an element. Modify the CustomDrawEventArgs.Handled property with respect to the Pressed and CustomDrawColumnHeaderEventArgs.HotTrack properties for this purpose.