menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridDataConditionalFormat - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridDataConditionalFormat

    Define the conditional format setting for the GridDataControl.

    Inheritance
    System.Object
    GridDataConditionalFormat
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GridDataConditionalFormat : Freezable

    Constructors

    GridDataConditionalFormat()

    Initializes a new instance of the GridDataConditionalFormat class.

    Declaration
    public GridDataConditionalFormat()

    Fields

    ApplyStyleToColumnProperty

    DependencyProperty for ApplyStyleToColumn property.

    Declaration
    public static readonly DependencyProperty ApplyStyleToColumnProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ConditionsProperty

    Declaration
    public static readonly DependencyProperty ConditionsProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    NameProperty

    DependencyProperty for Name property.

    Declaration
    public static readonly DependencyProperty NameProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    StyleProperty

    DependencyProperty for Style property.

    Declaration
    public static readonly DependencyProperty StyleProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    ApplyStyleToColumn

    Gets or sets the apply style to column name specified.

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

    The apply style to column.

    Conditions

    Gets or sets the conditions.

    Declaration
    public FreezableCollection<GridDataCondition> Conditions { get; set; }
    Property Value
    Type Description
    System.Windows.FreezableCollection<GridDataCondition>

    The conditions.

    Model

    Declaration
    public GridDataTableModel Model { get; }
    Property Value
    Type
    GridDataTableModel

    Name

    Gets or sets the name.

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

    The name.

    Style

    Gets or sets the GridDataStyleInfo for the specified condition.

    Declaration
    public GridDataStyleInfo Style { get; set; }
    Property Value
    Type Description
    GridDataStyleInfo

    The style.

    Methods

    CreateInstanceCore()

    Declaration
    protected override Freezable CreateInstanceCore()
    Returns
    Type
    System.Windows.Freezable

    InitializeFrom(GridDataConditionalFormat)

    Initializes from an other instance of GridDataConditionalFormat. This creates a cloned copy of the original object instance.

    Declaration
    public void InitializeFrom(GridDataConditionalFormat other)
    Parameters
    Type Name Description
    GridDataConditionalFormat other

    The other.

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