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

Declaration

[DXCategory("Behavior")]
[DefaultValue(ElementPositionOnExpanding.Default)]
public ElementPositionOnExpanding ElementPositionOnExpanding { get; set; }
<DXCategory("Behavior")>
<DefaultValue(ElementPositionOnExpanding.Default)>
Public Property ElementPositionOnExpanding As ElementPositionOnExpanding

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