Back to Devexpress

TreeListColumn.GetTextCaption() Method

windowsforms-devexpress-dot-xtratreelist-dot-columns-dot-treelistcolumn-377150b0.md

latest1.7 KB
Original Source

TreeListColumn.GetTextCaption() Method

Returns the column’s plain text caption.

Namespace : DevExpress.XtraTreeList.Columns

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public virtual string GetTextCaption()
vb
Public Overridable Function GetTextCaption As String

Returns

TypeDescription
String

A string value that represents the column’s plain text caption.

|

Remarks

If the TreeListOptionsView.AllowHtmlDrawHeaders option is enabled, you can use HTML tags to format column captions. In this instance, the GetTextCaption method returns the column’s plain text caption (without HTML tags).

See Also

AllowHtmlDrawHeaders

HTML-inspired Text Formatting

TreeListColumn Class

TreeListColumn Members

DevExpress.XtraTreeList.Columns Namespace