Back to Devexpress

OptionsView.ExpandAnimationSpeed Property

windowsforms-devexpress-dot-xtralayout-dot-optionsview-f9593eb6.md

latest2.4 KB
Original Source

OptionsView.ExpandAnimationSpeed Property

Gets or sets the collapse/expand animation speed.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(450)]
public int ExpandAnimationSpeed { get; set; }
vb
<DefaultValue(450)>
Public Property ExpandAnimationSpeed As Integer

Property Value

TypeDefaultDescription
Int32450

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

|

Property Paths

You can access this nested property as listed below:

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

AllowExpandAnimation

ExpandButtonVisible

Expanded

OptionsView Class

OptionsView Members

DevExpress.XtraLayout Namespace