TreeListOptionsView.ShowCaption Property

Gets or sets whether the caption panel is displayed at the top of the TreeList control.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool ShowCaption { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property ShowCaption As Boolean

Property Value

Type Default Description
Boolean

false

true, if the caption is displayed above the TreeList; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowCaption
WinForms Controls GanttControl
.OptionsView.ShowCaption
GanttControl
.OptionsView.ShowCaption
ResourcesTree
.OptionsView.ShowCaption
TreeList
.OptionsView.ShowCaption
Reporting XRDesignFieldList
.OptionsView.ShowCaption
XRDesignFieldList
.OptionsView.ShowCaption
XRDesignReportExplorer
.OptionsView.ShowCaption
XRDesignReportExplorer
.OptionsView.ShowCaption

Remarks

By default, the caption panel is hidden. Set the ShowCaption property to true to display the caption panel. The caption text can be specified using the TreeList.Caption property.

See Also