Skip to main content
A newer version of this page is available. .

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

public string Caption { get; set; }

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.

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.

See Also