windowsforms-devexpress-dot-xtralayout-dot-optionsview-f9593eb6.md
Gets or sets the collapse/expand animation speed.
Namespace : DevExpress.XtraLayout
Assembly : DevExpress.XtraLayout.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(450)]
public int ExpandAnimationSpeed { get; set; }
<DefaultValue(450)>
Public Property ExpandAnimationSpeed As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 450 |
An integer value that specifies the collapse/expand animation speed.
|
You can access this nested property as listed below:
| Object Type | Path to ExpandAnimationSpeed |
|---|---|
| LayoutControl |
.OptionsView .ExpandAnimationSpeed
|
Layout groups (LayoutGroup objects) can be collapsed/expanded at run time using the collapse/expand buttton (see LayoutGroup.ExpandButtonVisible), or in code using the LayoutGroup.Expanded property. By default, layout groups are collapsed/expanded instantly. Set the OptionsView.AllowExpandAnimation property to True to collapse/expand layout groups using a smooth animation. You can customize the animation speed with the ExpandAnimationSpeed property.
See Also