PivotGridOptionsView.AllowHtmlDrawHeaders Property
In This Article
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 Allow |
---|---|
Pivot |
|
#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