Class ConditionalStyle
Serves as a base class for the conditional style classes CellStyle and RowStyle in a SfDataGrid control.
Namespace: Syncfusion.SfDataGrid.XForms
Assembly: Syncfusion.SfDataGrid.XForms.dll
Syntax
public class ConditionalStyle : Object
Constructors
ConditionalStyle(GridColumn)
Initializes a new instance of the ConditionalStyle class.
Declaration
public ConditionalStyle(GridColumn gridColumn)
Parameters
Type | Name | Description |
---|---|---|
GridColumn | gridColumn | current grid Column value. |
Properties
BackgroundColor
Gets or sets the background color to be applied.
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
ForegroundColor
Gets or sets the foreground color to be applied.
Declaration
public Color ForegroundColor { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |