Back to Devexpress

AccordionControl.AnimationType Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-accordioncontrol-b1886f4c.md

latest2.4 KB
Original Source

AccordionControl.AnimationType Property

Gets or sets the animation effect that follows expanding\collapsing elements within this AccordionControl.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(AnimationType.Default)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public AnimationType AnimationType { get; set; }
vb
<DXCategory("Appearance")>
<XtraSerializableProperty>
<DefaultValue(AnimationType.Default)>
Public Property AnimationType As AnimationType

Property Value

TypeDefaultDescription
DevExpress.XtraBars.Navigation.AnimationTypeDefault

An DevExpress.XtraBars.Navigation.AnimationType enumerator value that specifies the animation effect.

|

Remarks

The AnimationType property can have the following values:

  • Simple - default animation type, items and groups are expanded or collapsed using the linear animation (the animation speed is constant);
  • Spline - the accelerated animation type, appropriate for large items and groups;
  • None - elements are expanded and collapsed with no animation effects;
  • Office2016 - animation similar to that found in MS Office 2016;
  • Default - the behavior is controlled by the WindowsFormsSettings.AnimationMode global setting. If the global setting is set to EnableLimited or DisableAll , elements are expanded and collapsed with no animation effects (the None mode). Otherwise, the Office2016 mode is used.

See Also

AnimationMode

AccordionControl Class

AccordionControl Members

DevExpress.XtraBars.Navigation Namespace