DXExpander.VerticalExpand Property

Gets or sets the vertical animation style. This is a dependency property.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v20.1.dll


public VerticalExpandMode VerticalExpand { get; set; }
Public Property VerticalExpand As VerticalExpandMode

Property Value

Type Description

A VerticalExpandMode enumeration member specifying the vertical animation style.


The DXExpander provides a number of predefined animation styles. The VerticalExpand property allows you to select the style of vertical animation. To specify the horizontal animation style, use the DXExpander.HorizontalExpand property.

You can also implement a custom animation for the DXExpander. To learn more, see DXExpander.


The following example demonstrates how to make visual elements expandable via the DXExpander.In this example, the DXExpander with a GroupBox inside it is placed into a standard Grid. The DXExpander can be expanded (or collapsed) by clicking the ellipsis button. This shows or hides the GroupBox.

<Application x:Class="DXExpander_CreatingAndUsing.App"

See Also