VGridOptionsBehavior.AllowGroupExpandAnimation Property
Gets or sets whether grid rows are expanded and collapsed using an animation effect.
Namespace: DevExpress.XtraVerticalGrid
Assembly: DevExpress.XtraVerticalGrid.v19.2.dll
Declaration
[Browsable(false)]
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean AllowGroupExpandAnimation { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | **Default** | True, if grid rows are expanded and collapsed using an animation effect; otherwise, Default or False. |
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). |
Property Paths
You can access this nested property as listed below:
Object Type | Path to AllowGroupExpandAnimation |
---|---|
PropertyGridControl |
|
VGridControl |
|
VGridControlBase |
|
Remarks
End-users can expand and collapse grid rows using the category and row expand buttons. You can show/hide these buttons using the VGridControlBase.OptionsView.ShowButtons option, which is accessible through the grid’s VGridControlBase.OptionsView property.
In code, you can collapse/expand:
- a particular row using the row’s BaseRow.Expanded property, or
- a particular row and all its child rows using the grid’s VGridControlBase.FullExpandRow method.
By default, grid rows are collapsed/expanded immediately, without animation effects. Set the AllowGroupExpandAnimation property to True to enable a smooth animation.