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

VGridOptionsBehavior.AllowGroupExpandAnimation Property

Gets or sets whether grid rows are expanded and collapsed using an animation effect.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.VerticalGrid

Declaration

[Browsable(false)]
[DefaultValue(DefaultBoolean.Default)]
[EditorBrowsable(EditorBrowsableState.Never)]
[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

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowGroupExpandAnimation
VGridControlBase
.OptionsBehavior .AllowGroupExpandAnimation

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:

By default, grid rows are collapsed/expanded immediately, without animation effects. Set the AllowGroupExpandAnimation property to True to enable a smooth animation.

See Also