Skip to main content
A newer version of this page is available. .

FormatConditionRuleDataBar Members

Applies a format using a data bar.

Constructors

Name Description
FormatConditionRuleDataBar() Initializes a new instance of a FormatConditionRuleDataBar class.

Properties

Name Description
AllowAnimation Gets or sets whether the format is repainted with an animation effect when a cell value changes. Animation effects are supported for specific format rules, only in the Data Grid control. Inherited from FormatConditionRuleBase.
AllowNegativeAxis Gets or sets whether negative data bars are displayed in the direction opposite to the positive data bars.
Appearance Provides access to appearance settings for data bars that correspond to positive cell values.
AppearanceNegative Provides access to appearance settings for data bars that correspond to negative cell values.
AutomaticType Gets or sets how the range’s maximum and minimum values are calculated when the FormatConditionRuleMinMaxBase.MaximumType and FormatConditionRuleMinMaxBase.MinimumType properties are set to Automatic. Inherited from FormatConditionRuleMinMaxBase.
AxisColor Gets or sets the color of the vertical axis between positive and negative data bars.
DrawAxis Gets or set whether to draw the vertical axis between positive and negative data bars.
DrawAxisAtMiddle Gets or sets whether to draw the vertical axis between positive and negative bars at the middle of the cell.
IsValid Gets whether the current FormatConditionRuleBase object is properly customized. Inherited from FormatConditionRuleBase.
Maximum Gets or sets the maximum of the target value range. Inherited from FormatConditionRuleMinMaxBase.
MaximumType Gets or sets whether the target range’s maximum is automatically calculated or specified manually (as a number or percentage). Inherited from FormatConditionRuleMinMaxBase.
Minimum Gets or sets the minimum of the target value range. Inherited from FormatConditionRuleMinMaxBase.
MinimumType Gets or sets whether the target range minimum is automatically calculated or specified manually (as a number or percentage). Inherited from FormatConditionRuleMinMaxBase.
PredefinedName Gets or sets the name of the predefined bar style.
RightToLeft Gets or sets whether to display positive data bars in the right-to-left direction.
ShowBarOnly Gets or sets whether to display data bars within target cells without cell values.

Methods

Name Description
Assign(FormatConditionRuleBase) Copies settings from the specified object to the current object. Inherited from FormatConditionRuleBase.
BeginUpdate() Locks the FormatConditionRuleBase by preventing change notifications from being fired, preventing visual updates until the EndUpdate method is called. Inherited from FormatConditionRuleBase.
ConvertToDecimal(Object) static Converts the specified object to the nullable decimal type. Inherited from FormatConditionRuleBase.
CreateInstance() Creates a new instance of the FormatConditionRuleDataBar class.
EndUpdate() Unlocks the FormatConditionRuleBase object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from FormatConditionRuleBase.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetAllowAnimation() Gets whether an animation effect is enabled for and supported by the format rule. Inherited from FormatConditionRuleBase.
GetAutomaticType() Returns the actual value of the FormatConditionRuleMinMaxBase.AutomaticType setting. Inherited from FormatConditionRuleMinMaxBase.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IsFit(IFormatConditionRuleValueProvider) Returns whether the current rule evaluates to “true” for input values provided by the specified valueProvider. Inherited from FormatConditionRuleBase.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the text representation of the current object. Inherited from FormatConditionRuleBase.
See Also