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.AllowHtmlDrawFieldValues Property

Gets or sets whether the text displayed in the field values support HTML tags.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

NuGet Package: DevExpress.Win.PivotGrid

#Declaration

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

#Property Value

Type Default
Boolean false

#Property Paths

You can access this nested property as listed below:

Object Type Path to AllowHtmlDrawFieldValues
PivotGridControl
.OptionsView .AllowHtmlDrawFieldValues

#Remarks

To display HTML formatted text in field values, set the AllowHtmlDrawFieldValues property to true, subscribe to the PivotGridControl.FieldValueDisplayText event and assign HTML string to the PivotFieldDisplayTextEventArgs.DisplayText property.

Tip

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

See Also