Class PivotGridDataConditionalFormat
Represents the information needed for fomatting Pivot Grid based on conditions.
Inheritance
System.Object
PivotGridDataConditionalFormat
Namespace: Syncfusion.UI.Xaml.PivotGrid
Assembly: Syncfusion.SfPivotGrid.UWP.dll
Syntax
public class PivotGridDataConditionalFormat : DependencyObject
Constructors
PivotGridDataConditionalFormat()
Initializes a new instance of the PivotGridDataCondition class.
Declaration
public PivotGridDataConditionalFormat()
Fields
CellStyleProperty
Identifies the CellStyle dependency property.
Declaration
public static DependencyProperty CellStyleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ConditionsProperty
Identifies the Conditions dependency property.
Declaration
public static DependencyProperty ConditionsProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
NameProperty
Identifies the Name dependency property.
Declaration
public static DependencyProperty NameProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
CellStyle
Gets or sets the PivotGridCellStyle for the specified condition.
Declaration
public PivotGridCellStyle CellStyle { get; set; }
Property Value
Type |
---|
PivotGridCellStyle |
Conditions
Gets or sets the conditions.
Declaration
public ObservableCollection<PivotGridDataCondition> Conditions { get; set; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<PivotGridDataCondition> |
Name
Gets or sets the name for the conditional format.
Declaration
public string Name { get; set; }
Property Value
Type |
---|
System.String |
Methods
ApplyFormat(Object, String)
Checks whether the current cell qualifies for conditional formatting
Declaration
public bool ApplyFormat(object cellInfo, string associatedMeasure)
Parameters
Type | Name | Description |
---|---|---|
System.Object | cellInfo | The cell info. |
System.String | associatedMeasure | The associated measure. |
Returns
Type |
---|
System.Boolean |