Back to Devexpress

VGridOptionsBehavior.AllowGroupExpandAnimation Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridoptionsbehavior-8abf625c.md

latest4.2 KB
Original Source

VGridOptionsBehavior.AllowGroupExpandAnimation Property

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

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
[DefaultValue(DefaultBoolean.Default)]
[EditorBrowsable(EditorBrowsableState.Never)]
[XtraSerializableProperty]
public virtual DefaultBoolean AllowGroupExpandAnimation { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Overridable Property AllowGroupExpandAnimation As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

True , if grid rows are expanded and collapsed using an animation effect; otherwise, Default or False.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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

Expanded

FullExpandRow(BaseRow)

Collapse and Expand Rows

Category Collapse/Expand Buttons

Row Collapse/Expand Buttons

VGridOptionsBehavior Class

VGridOptionsBehavior Members

DevExpress.XtraVerticalGrid Namespace