Back to Devexpress

GridBand.GetTextCaption() Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-bandedgrid-dot-gridband-c0b43e2c.md

latest1.6 KB
Original Source

GridBand.GetTextCaption() Method

Returns the non formatted band caption.

Namespace : DevExpress.XtraGrid.Views.BandedGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

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

Returns

TypeDescription
String

A string value that represents the band’s non formatted caption.

|

Remarks

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

See Also

AllowHtmlDrawHeaders

GridBand Class

GridBand Members

DevExpress.XtraGrid.Views.BandedGrid Namespace