Back to Devexpress

FormatConditionBase.RowName Property

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

latest3.3 KB
Original Source

FormatConditionBase.RowName Property

Gets or sets a name of the row field, to which intersection with column field a format is applied.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

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

Property Value

TypeDescription
String

A System.String object that is a row field name.

|

Remarks

Use the field’s PivotGridField.Name property value to refer to a field. To set a column field name, use the FormatConditionBase.ColumnName property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RowName 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#L28

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

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

csharp
// Specifies a row field.
formatRulesDataBar.RowName = "fieldSalesPerson";

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

vb
' Specifies a row field.
formatRulesDataBar.RowName = "fieldSalesPerson"

See Also

FormatConditionBase Class

FormatConditionBase Members

DevExpress.Xpf.PivotGrid Namespace