Back to Devexpress

TreeListBand.Caption Property

windowsforms-devexpress-dot-xtratreelist-dot-columns-dot-treelistband-0bf4917b.md

latest2.1 KB
Original Source

TreeListBand.Caption Property

Gets or sets the band caption to be displayed within the band header.

Namespace : DevExpress.XtraTreeList.Columns

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

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

Property Value

TypeDefaultDescription
StringString.Empty

A value that specifies the band header.

|

Remarks

If the TreeListOptionsView.AllowHtmlDrawHeaders property is set to true , you can use HTML tags to format the caption. For detailed information, see the HTML Text Formatting.

See Also

AllowHtmlDrawHeaders

CustomizationCaption

HTML-inspired Text Formatting

TreeListBand Class

TreeListBand Members

DevExpress.XtraTreeList.Columns Namespace