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.Caption Property

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

Namespace: DevExpress.XtraVerticalGrid.Events

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