BaseView.ViewCaption Property

Gets or sets the View Caption.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[DefaultValue("")]
[XtraSerializableProperty]
[DXCategory("Appearance")]
public string ViewCaption { get; set; }
<DefaultValue("")>
<XtraSerializableProperty>
<DXCategory("Appearance")>
Public Property ViewCaption As String

Property Value

Type Default Description
String

String.Empty

A string value specifying the View's caption.

Remarks

View Captions are displayed in the following cases:

BaseView_ViewCaption.gif

If the ViewCaption property value is an empty string, the View's corresponding relationship name (BaseView.LevelName) is used. If a View is the main View (see GridControl.MainView) and the ViewCaption property is not set, the 'MainView' string is used as the View caption.

See Also