Skip to main content

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.1.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