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.ElementPositionOnExpanding Property

Gets or sets whether expandable groups and elements are scrolled (if required) to make their contents visible when they are expanded.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(ElementPositionOnExpanding.Default)]
[DXCategory("Behavior")]
public ElementPositionOnExpanding ElementPositionOnExpanding { get; set; }

#Property Value

Type Default Description
DevExpress.XtraBars.Navigation.ElementPositionOnExpanding Default

A value that specifies whether elements and groups are scrolled (if required) on their expansion to make their contents visible. The Default value is equivalent to ScrollUp.

#Remarks

The ElementPositionOnExpanding property allows you to choose from among two modes:

  • ScrollUp or Default - the group/expandable element is scrolled (if required) to make their contents as fully visible as possible on expansion.
  • Fixed - the group/expandable element is not scrolled on expanding.
See Also