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

AccordionControl.AnimationType Property

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

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(AnimationType.Default)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public AnimationType AnimationType { get; set; }

#Property Value

Type Default Description
DevExpress.XtraBars.Navigation.AnimationType Default

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