menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class ConditionalStyle

    Serves as a base class for the conditional style classes CellStyle and RowStyle in a SfDataGrid control.

    Inheritance
    System.Object
    ConditionalStyle
    CellStyle
    RowStyle
    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved