Back to Devexpress

CustomDrawRowHeaderCellEventArgs.CaptionRect Property

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

latest1.8 KB
Original Source

CustomDrawRowHeaderCellEventArgs.CaptionRect Property

Gets the bounding rectangle of the row header cell’s caption.

Namespace : DevExpress.XtraVerticalGrid.Events

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
public Rectangle CaptionRect { get; }
vb
Public ReadOnly Property CaptionRect As Rectangle

Property Value

TypeDescription
Rectangle

A Rectangle structure representing the caption’s bounding rectangle.

|

Remarks

Use this property to obtain the boundaries within the painted row header cell in which the caption text is intended to be drawn. If the caption exceeds the available bounds, the text is truncated.

See Also

Caption

CustomDrawRowHeaderCellEventArgs Class

CustomDrawRowHeaderCellEventArgs Members

DevExpress.XtraVerticalGrid.Events Namespace