Back to Devexpress

FormatConditionBase.MeasureName Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-formatconditionbase.md

latest3.2 KB
Original Source

FormatConditionBase.MeasureName Property

Gets or sets a data field name for whose values conditional formatting is applied.

Namespace : DevExpress.Xpf.PivotGrid

Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public string MeasureName { get; set; }
vb
Public Property MeasureName As String

Property Value

TypeDescription
String

A System.String object, that is a data field name.

|

Remarks

Use the field’s PivotGridField.Name property value to refer to a field.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MeasureName property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-pivot-grid-apply-format-conditions-to-data-cells/CS/WpfPivotGridConditionalFormatting/MainWindow.xaml#L27

xml
<dxpg:IconSetFormatCondition ApplyToSpecificLevel="true"
                             MeasureName="fieldExtendedPrice"
                             RowName="fieldSalesPerson" ColumnName="fieldYear" PredefinedFormatName="Arrows3ColoredIconSet"/>

wpf-pivot-grid-apply-format-conditions-to-data-cells/CS/WpfPivotGridConditionalFormatting/MainWindow.xaml.cs#L31

csharp
// Specifies a data field.
formatRulesDataBar.MeasureName = "fieldExtendedPrice";

wpf-pivot-grid-apply-format-conditions-to-data-cells/VB/WpfPivotGridConditionalFormatting/MainWindow.xaml.vb#L33

vb
' Specifies a data field.
formatRulesDataBar.MeasureName = "fieldExtendedPrice"

See Also

FormatConditionBase Class

FormatConditionBase Members

DevExpress.Xpf.PivotGrid Namespace