Skip to main content

PivotGridOptionsView.AllowHtmlDrawHeaders Property

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v22.1.dll

NuGet Package: DevExpress.Win.PivotGrid

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public bool AllowHtmlDrawHeaders { get; set; }

Property Value

Type Default Description
Boolean false

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 Type Path 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