Back to Devexpress

CustomDrawRowHeaderCellEventArgs.HotTrack Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-events-dot-customdrawrowheadercelleventargs-bffb37d3.md

latest2.2 KB
Original Source

CustomDrawRowHeaderCellEventArgs.HotTrack Property

Gets a value indicating whether the mouse pointer passes over the painted row header cell.

Namespace : DevExpress.XtraVerticalGrid.Events

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

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

Property Value

TypeDescription
Boolean

true if the mouse pointer passes over the painted row header cell; otherwise, false.

|

Remarks

The VGridControlBase.CustomDrawRowHeaderCell event allows you custom paint the row header cells based on their state (hot-tracked, focused etc). Read the HotTrack property value to determine if the processed row header cell is hot-tracked (the mouse pointer is hovering over it).

You can also use the CustomDrawRowHeaderCellEventArgs.Pressed property to determine whether the painted row header cell is pressed.

See Also

Pressed

Focused

CustomDrawRowHeaderCellEventArgs Class

CustomDrawRowHeaderCellEventArgs Members

DevExpress.XtraVerticalGrid.Events Namespace