Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CustomDrawColumnHeaderEventArgs.HotTrack Property

Gets a value indicating whether the painted column header is hot tracked.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

#Declaration

public bool HotTrack { get; }

#Property Value

Type Description
Boolean

true if the painted column header is hot tracked; otherwise false.

#Remarks

The TreeList.CustomDrawColumnHeader event gives you information on the current state of the painted column header. If the column header is hot tracked (the mouse pointer hovers over it), the HotTrack property of the event parameter returns true. You can also use the CustomDrawColumnHeaderEventArgs.Pressed property to determine whether the column header is pressed.

The above mentioned properties give you the ability to perform various painting for the column header in different states.

Note: the HotTrack property always returns false if the column button is currently painted.

See Also