Skip to main content

CustomDrawRowHeaderCellEventArgs.CaptionRect Property

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

Namespace: DevExpress.XtraVerticalGrid.Events

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

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

Declaration

public Rectangle CaptionRect { get; }

Property Value

Type Description
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