windowsforms-devexpress-dot-xtranavbar-dot-optionsnavpane-dfbfed16.md
Gets or sets the number of animation frames when the control is being expanded or collapsed.
Namespace : DevExpress.XtraNavBar
Assembly : DevExpress.XtraNavBar.v25.2.dll
NuGet Package : DevExpress.Win
[DefaultValue(100)]
public virtual int AnimationFramesCount { get; set; }
<DefaultValue(100)>
Public Overridable Property AnimationFramesCount As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 100 |
An integer value that specifies the number of animation frames when the control is being expanded or collapsed.
|
You can access this nested property as listed below:
| Object Type | Path to AnimationFramesCount |
|---|---|
| NavBarControl |
.OptionsNavPane .AnimationFramesCount
|
In the NavigationPane paint style, the NavBarControl can be minimized to save space and then restored if necessary. A sliding animation effect is used to indicate the control’s expansion state being changed. To control the animation rate, use the AnimationFramesCount property. The larger this value, the smoother the animation effect.
See Also