Back to Devexpress

TreeListOptionsView.ShowCaption Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsview-93446db7.md

latest2.3 KB
Original Source

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.v25.2.dll

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

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ShowCaption
TreeList

.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

Caption

CaptionHeight

Caption Panel

TreeListOptionsView Class

TreeListOptionsView Members

DevExpress.XtraTreeList Namespace