ExpandDirection Property
Collapse the table of content
Expand the table of content

Expander.ExpandDirection Property


Gets or sets the direction in which the Expander content window opens.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public ExpandDirection ExpandDirection { get; set; }

Property Value

Type: System.Windows.Controls.ExpandDirection

One of the ExpandDirection values that defines which direction the content window opens. The default is ExpandDirection.Down.

The following example shows how to set the ExpandDirection property.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft