Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

OptionsView.ExpandAnimationSpeed Property

Gets or sets the collapse/expand animation speed.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.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