Back to Devexpress

PivotGridOptionsView.AllowHtmlDrawHeaders Property

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionsview.md

latest2.3 KB
Original Source

PivotGridOptionsView.AllowHtmlDrawHeaders Property

Gets or sets whether HTML formatting can be applied to column and band captions.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

true if HTML formatting can be applied to column and band captions; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowHtmlDrawHeaders
PivotGridControl

.OptionsView .AllowHtmlDrawHeaders

|

Remarks

To display HTML formatted text in field headers, set the AllowHtmlDrawHeaders property to true and assign an HTML string to the PivotGridFieldBase.Caption property.

Tip

Run the HTML in Field Headers code example in our demo center to test HTML support for the text displayed in the field headers.

See Also

HTML-inspired Text Formatting

PivotGridOptionsView Class

PivotGridOptionsView Members

DevExpress.XtraPivotGrid Namespace