Class OlapGridDataConditionalFormat
Defines the conditional formatting setting for OlapGrid
Inheritance
System.Object
OlapGridDataConditionalFormat
Namespace: Syncfusion.Windows.Grid.Olap
Assembly: Syncfusion.OlapGrid.WPF.dll
Syntax
public class OlapGridDataConditionalFormat : Freezable
Constructors
OlapGridDataConditionalFormat()
Initializes a new instance of the OlapGridDataConditionalFormat class.
Declaration
public OlapGridDataConditionalFormat()
Fields
CellStyleProperty
DependencyProperty for CellStyle property.
Declaration
public static readonly DependencyProperty CellStyleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ConditionsProperty
DependencyProperty for Conditions property.
Declaration
public static readonly DependencyProperty ConditionsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
NameProperty
DependencyProperty for Name property.
Declaration
public static readonly DependencyProperty NameProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
CellStyle
Gets or sets the OlapGridCellStyle for the specified condition.
Declaration
public OlapGridCellStyle CellStyle { get; set; }
Property Value
Type | Description |
---|---|
OlapGridCellStyle | The style. |
Conditions
Gets or sets the conditions.
Declaration
public FreezableCollection<OlapGridDataCondition> Conditions { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.FreezableCollection<OlapGridDataCondition> | The conditions. |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
Methods
ApplyFormat(PivotCellDescriptor, String)
Checks whether the current cell qualifies for conditional formatting
Declaration
public bool ApplyFormat(PivotCellDescriptor cellInfo, string associatedMeasure)
Parameters
Type | Name | Description |
---|---|---|
PivotCellDescriptor | cellInfo | The cell info. |
System.String | associatedMeasure | The associated measure. |
Returns
Type |
---|
System.Boolean |
CreateInstanceCore()
When implemented in a derived class, creates a new instance of the System.Windows.Freezable derived class.
Declaration
protected override Freezable CreateInstanceCore()
Returns
Type | Description |
---|---|
System.Windows.Freezable | The new instance. |