Skip to main content

CustomDrawRowHeaderCellEventArgs.Caption Property

Gets or sets the text displayed within the painted row header cell.

Namespace: DevExpress.XtraVerticalGrid.Events

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

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

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.
See Also