RowProperties.Caption Property

Gets or sets the row caption.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v21.1.dll

Declaration

[DefaultValue("")]
[XtraSerializableProperty]
public string Caption { get; set; }

Property Value

Type Default Description
String

String.Empty

A string value that specifies the row caption.

Remarks

Use the Caption property to specify the row caption, which is displayed in the row header.

RowProperties_Caption

You can also use the Caption argument to set a custom caption in a CustomDrawRowHeaderCell event handler.

The CustomizationCaption property specifies the row caption when it is displayed in the customization form.

You can use the DisplayAttribute to specify a caption for a data field. See the following topic for more information: Data Annotation Attributes.

If neither of these means is used to specify the row caption, the control uses the FieldName property value. If the field name is in the pascal case, the control separates the words with spaces.

If the ShowCaption option is disabled, the caption is not displayed.

The find panel searches for a row by its caption, tooltip, field name, and caption in the customization form. The SearchTags property allows you to specify custom tags by which the find panel can locate this row.

See Also