Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotGridOptionsView.AllowHtmlDrawHeaders Property

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

#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