Skip to main content

OptionsView.ExpandAnimationSpeed Property

Gets or sets the collapse/expand animation speed.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(450)]
public int ExpandAnimationSpeed { get; set; }

Property Value

Type Default Description
Int32 450

An integer value that specifies the collapse/expand animation speed.

Property Paths

You can access this nested property as listed below:

Object Type Path to ExpandAnimationSpeed
LayoutControl
.OptionsView .ExpandAnimationSpeed

Remarks

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