Class ConditionalFormatDataBarRule
Implements data bar cell based the provided properties and conditions.
Inheritance
Implements
Inherited Members
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 |