OptionsView.ExpandAnimationSpeed Property

Gets or sets the collapse/expand animation speed.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.2.dll

Declaration

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

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
DataLayoutControl
.OptionsView.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