Back to Devexpress

PivotGridOptionsView.AllowHtmlDrawFieldValues Property

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

latest2.4 KB
Original Source

PivotGridOptionsView.AllowHtmlDrawFieldValues Property

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

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

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

Property Value

TypeDefault
Booleanfalse

Property Paths

You can access this nested property as listed below:

Object TypePath 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

HTML-inspired Text Formatting

PivotGridOptionsView Class

PivotGridOptionsView Members

DevExpress.XtraPivotGrid Namespace