menu

WinForms

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

    Show / Hide Table of Contents

    Class ConditionalFormatDataBarRule

    Implements data bar cell based the provided properties and conditions.

    Inheritance
    System.Object
    ShouldSerializeBasedPersisterType
    DescriptorBase
    ConditionalFormatRuleBase
    ConditionalFormatDataBarRule
    Implements
    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    Inherited Members
    ConditionalFormatRuleBase.Dispose()
    ConditionalFormatRuleBase.GetName()
    DescriptorBase.CanResetValue()
    DescriptorBase.Dispose(Boolean)
    DescriptorBase.Disposed
    DescriptorBase.Disposing
    DescriptorBase.InDisposed
    DescriptorBase.IsDisposed
    DescriptorBase.OnDisposed(EventArgs)
    DescriptorBase.Reset()
    DescriptorBase.ShouldSerialize()
    DescriptorBase.ToString()
    ShouldSerializeBasedPersisterType.AddNewAttributes(PropertyDescriptor, Attribute[], Int32)
    ShouldSerializeBasedPersisterType.CheckAllProperties
    ShouldSerializeBasedPersisterType.GetCustomPDC(PropertyDescriptorCollection)
    ShouldSerializeBasedPersisterType.GetNewAttributesCount(PropertyDescriptor)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Syncfusion.Windows.Forms.Grid.Grouping
    Assembly: Syncfusion.Grid.Grouping.Windows.dll
    Syntax
    public class ConditionalFormatDataBarRule : ConditionalFormatRuleBase, ICustomTypeDescriptor, IDisposable

    Constructors

    ConditionalFormatDataBarRule()

    Initialize the new instance for ConditionalFormatDataBarRuleclass.

    Declaration
    public ConditionalFormatDataBarRule()

    Properties

    AutoCalculateMinMax

    Used to determine whether need to calculate Min Max values.

    Declaration
    public bool AutoCalculateMinMax { get; set; }
    Property Value
    Type
    System.Boolean

    AxisColor

    Get or set the axis bar color.

    Declaration
    public Color AxisColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    AxisPosition

    Axis position inside the cell to change the bars of negative and positive values.

    Declaration
    public AxisPosition AxisPosition { get; set; }
    Property Value
    Type
    AxisPosition

    BarDirection

    Gets or sets the Data bar drawing direction.

    Declaration
    public RightToLeft BarDirection { get; set; }
    Property Value
    Type
    System.Windows.Forms.RightToLeft

    ColumnName

    Gets or sets the data bar drawing column name.

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

    FillNegativeColorSameAsPositive

    Used to fill negative bar color as same like positive bar color.

    Declaration
    public bool FillNegativeColorSameAsPositive { get; set; }
    Property Value
    Type
    System.Boolean

    Maximum

    Gets or sets the maximum value.

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

    Minimum

    Gets or set the minimum value.

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

    Name

    Get or set the Name for rule.

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

    NegativeBar

    Hold negative cell values settings.

    Declaration
    public BarStyleInfo NegativeBar { get; set; }
    Property Value
    Type
    BarStyleInfo

    PositiveBar

    Holds positive cell values settings.

    Declaration
    public BarStyleInfo PositiveBar { get; set; }
    Property Value
    Type
    BarStyleInfo

    Methods

    Clone()

    Creates a copy of this object.

    Declaration
    public virtual ConditionalFormatDataBarRule Clone()
    Returns
    Type Description
    ConditionalFormatDataBarRule

    A copy of this object.

    InitializeFrom(ConditionalFormatDataBarRule)

    Initializes this object and copies properties from another object. PropertyChanging and PropertyChanged events are raised for every property that is modified. If both objects are equal, no events are raised.

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

    The source object.

    OnPropertyChanged(DescriptorPropertyChangedEventArgs)

    Raises the System.ComponentModel.PropertyChangedEventArgs event.

    Declaration
    protected virtual void OnPropertyChanged(DescriptorPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    DescriptorPropertyChangedEventArgs e

    A DescriptorPropertyChangedEventArgs that contains the event data.

    OnPropertyChanging(DescriptorPropertyChangedEventArgs)

    Raises the PropertyChanged event.

    Declaration
    protected virtual void OnPropertyChanging(DescriptorPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    DescriptorPropertyChangedEventArgs e

    A DescriptorPropertyChangedEventArgs that contains the event data.

    Events

    PropertyChanged

    Occurs when a property is changed.

    Declaration
    public event DescriptorPropertyChangedEventHandler PropertyChanged
    Event Type
    Type
    DescriptorPropertyChangedEventHandler

    PropertyChanging

    Occurs before a property is changed.

    Declaration
    public event DescriptorPropertyChangedEventHandler PropertyChanging
    Event Type
    Type
    DescriptorPropertyChangedEventHandler

    Implements

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