Xamarin.Forms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CellStyle - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CellStyle

    Provides set of properties to be customized in cell level.

    Inheritance
    System.Object
    ConditionalStyle
    CellStyle
    Inherited Members
    ConditionalStyle.ForegroundColor
    ConditionalStyle.BackgroundColor
    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 Description
    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 Description
    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 Description
    StylePreference

    Font

    Gets or sets the font to be applied.

    Declaration
    public string Font { get; set; }
    Property Value
    Type Description
    System.String

    FontAttribute

    Gets or sets the font attributes to be applied.

    Declaration
    public FontAttributes FontAttribute { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.FontAttributes

    FontSize

    Gets or sets the size of the font.

    Declaration
    public double FontSize { get; set; }
    Property Value
    Type Description
    System.Double

    See Also

    ConditionalStyle
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved