Back to Devexpress

GridOptionsBehavior.AllowGroupExpandAnimation Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsbehavior-3d2f26b7.md

latest2.9 KB
Original Source

GridOptionsBehavior.AllowGroupExpandAnimation Property

Gets or sets whether groups are expanded/collapsed using an animation effect.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

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

Property Value

TypeDefaultDescription
DefaultBooleanDefault

True , if groups are expanded/collapsed using an animation effect; False if not; Default uses the WindowsFormsSettings.AnimationMode global setting.

|

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
GridView

.OptionsBehavior .AllowGroupExpandAnimation

|

Remarks

The AllowGroupExpandAnimation property allows you to explicitly specify whether groups are expanded/collapsed using an animation effect. If this property is set to Default , the animation effect is enabled if the WindowsFormsSettings.AnimationMode global setting is set to EnableAll or Default , and disabled otherwise.

See Also

Data Grouping

AnimationMode

GridOptionsBehavior Class

GridOptionsBehavior Members

DevExpress.XtraGrid.Views.Grid Namespace