Expander.ExpandDirection Property

 

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

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

[<BindableAttribute(true)>]
member ExpandDirection : ExpandDirection with 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.

No code example is currently available or this language may not be supported.
<Expander Name ="myExpanderOpensUp" ExpandDirection="Up" 
          Header ="expanderTitle" Content="expanderContent"/>

.NET Framework
Available since 3.0
Return to top
Show: