CustomDrawRowHeaderCellEventArgs.Caption Property
Gets or sets the text displayed within the painted row header cell.
Namespace: DevExpress.XtraVerticalGrid.Events
Assembly: DevExpress.XtraVerticalGrid.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
String | A String value representing the painted row header cell’s text. |
Remarks
Initially, the Caption property contains the row header cell’s default text specified by the RowProperties.Caption property. This property can be used in two ways:
- read the property value to paint the default text;
- change the Caption property value and leave the CustomDrawEventArgs.Handled property set to false. This forces the control to paint the row header cell using the default mechanism but with a modified caption.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Caption property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.