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

CustomDrawRowHeaderCellEventArgs.CaptionRect Property

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

Namespace: DevExpress.XtraVerticalGrid.Events

Assembly: DevExpress.XtraVerticalGrid.v24.2.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