Class GridConditionalFormat
create conditional format for each condition and added it to GridConditionalFormats collection
Inheritance
Namespace: Syncfusion.UI.Xaml.CellGrid
Assembly: Syncfusion.SfCellGrid.WPF.dll
Syntax
public class GridConditionalFormat : Object
Constructors
GridConditionalFormat()
create the conditionalformat with default conditionalformat type as cellvalue
Declaration
public GridConditionalFormat()
GridConditionalFormat(GridConditionalFormatType)
create the conditionalformat with the specified the conditionalformat type
Declaration
public GridConditionalFormat(GridConditionalFormatType conditionalformattype)
Parameters
Type | Name | Description |
---|---|---|
GridConditionalFormatType | conditionalformattype | sets the conditionalformat type |
GridConditionalFormat(GridConditionalFormatType, GridConditionType, Object)
create the conditionalformat with conditionalformattype,conditiontype and value
Declaration
public GridConditionalFormat(GridConditionalFormatType conditionformattype, GridConditionType conditiontype, object value)
Parameters
Type | Name | Description |
---|---|---|
GridConditionalFormatType | conditionformattype | sets conditionalformat type |
GridConditionType | conditiontype | sets the conditiontype |
System.Object | value | sets the condition value |
GridConditionalFormat(GridConditionalFormatType, GridConditionType, Object, Object)
create the conditionalformat with conditionalformattype,conditiontype,condition value1 and value2
Declaration
public GridConditionalFormat(GridConditionalFormatType conditionalformattype, GridConditionType conditiontype, object value1, object value2)
Parameters
Type | Name | Description |
---|---|---|
GridConditionalFormatType | conditionalformattype | sets the conditionalformat type |
GridConditionType | conditiontype | sets the conditiontype |
System.Object | value1 | sets the conditionvalue1 |
System.Object | value2 | sets the condition value2 |
GridConditionalFormat(GridTimePeriodType)
create the conditionalformat with timeperiod type
Declaration
public GridConditionalFormat(GridTimePeriodType timePeriodType)
Parameters
Type | Name | Description |
---|---|---|
GridTimePeriodType | timePeriodType | sets the timperiod type |
Properties
Condition
Gets or sets the gridcondition into conditionalformat
Declaration
public GridCondition Condition { get; set; }
Property Value
Type |
---|
GridCondition |
ConditionalFormatType
Gets or sets the conditionalformat type into gridconditionalformat
Declaration
public GridConditionalFormatType ConditionalFormatType { get; set; }
Property Value
Type |
---|
GridConditionalFormatType |
Style
Gets or sets conditional format styles into the gridconditinalformat
Declaration
public GridStyleInfo Style { get; set; }
Property Value
Type |
---|
GridStyleInfo |
Methods
CalculateReference(SfCellGrid, GridConditionalFormatType, Object, GridCondition)
Declaration
public object CalculateReference(SfCellGrid grid, GridConditionalFormatType conditionalformattype, object calcvalue, GridCondition condition)
Parameters
Type | Name | Description |
---|---|---|
SfCellGrid | grid | |
GridConditionalFormatType | conditionalformattype | |
System.Object | calcvalue | |
GridCondition | condition |
Returns
Type |
---|
System.Object |
GetCompileDelegate(SfCellGrid, GridConditionalFormat, String, Type, out Boolean)
Gets the compiled delegate.
Declaration
public Delegate GetCompileDelegate(SfCellGrid grid, GridConditionalFormat conditionalformat, string data, Type type, out bool formatflag)
Parameters
Type | Name | Description |
---|---|---|
SfCellGrid | grid | |
GridConditionalFormat | conditionalformat | |
System.String | data | |
System.Type | type | condition value type |
System.Boolean | formatflag |
Returns
Type |
---|
System.Delegate |