Class CellStyle
Provides set of properties to be customized in cell level.
Namespace: Syncfusion.SfDataGrid.XForms
Assembly: Syncfusion.SfDataGrid.XForms.dll
Syntax
public class CellStyle : ConditionalStyle
Constructors
CellStyle(GridColumn)
Initializes a new instance of the CellStyle class.
Declaration
public CellStyle(GridColumn gridColumn)
Parameters
Type | Name | Description |
---|---|---|
GridColumn | gridColumn | Current grid column. |
Properties
BorderColor
Gets or sets the border color of the GridCell.
Declaration
public Color BorderColor { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
BorderThickness
Gets or sets the thickness of the left, top, right and bottom borders of a cell.
Declaration
public Thickness BorderThickness { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Thickness |
CellStylePreference
Gets or sets the style preference which determines whether the selection alone should be visible or both selection and cell style should be visible.
Declaration
public StylePreference CellStylePreference { get; set; }
Property Value
Type |
---|
StylePreference |
Font
Gets or sets the font to be applied.
Declaration
public string Font { get; set; }
Property Value
Type |
---|
System.String |
FontAttribute
Gets or sets the font attributes to be applied.
Declaration
public FontAttributes FontAttribute { get; set; }
Property Value
Type |
---|
Xamarin.Forms.FontAttributes |
FontSize
Gets or sets the size of the font.
Declaration
public double FontSize { get; set; }
Property Value
Type |
---|
System.Double |