FormatConditionRuleBase.AllowAnimation Property
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.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v19.1.dll
Declaration
[DXCategory("Behavior")]
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public DefaultBoolean AllowAnimation { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | **Default** | A value that specifies whether an animation effect is enabled for the format rule. |
Available values:
Name | Description |
---|---|
True | Corresponds to a Boolean value of true. |
False | Corresponds to a Boolean value of false. |
Default | The value is determined by the current object’s parent object setting (e.g., a control setting). |
Remarks
Animation effects are supported for the following format rules:
Format rule | Animation effect |
---|---|
Fade effect | |
Progress effect | |
Fade effect | |
FormatConditionRuleAppearanceBase descendants - These are format rules that change a cell’s appearance settings based on conditions. | Fade effect |
The AllowAnimation property set to Default for the format rules listed above is interpreted as True. Set this property to False to disable animation effects.
The AllowAnimation property is ignored for other format rules.
See GetAllowAnimation to identify whether an animation effect is actually supported by and enabled for the format rule.