CustomDrawColumnHeaderEventArgs.HotTrack Property

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.2.dll

Declaration

public bool HotTrack { get; }
Public ReadOnly Property HotTrack As Boolean

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