Freigeben über


Expander.ExpandDirection Eigenschaft

Definition

Ruft die Richtung ab, in der das Expander Inhaltsfenster geöffnet wird, oder legt diese fest.

public:
 property System::Windows::Controls::ExpandDirection ExpandDirection { System::Windows::Controls::ExpandDirection get(); void set(System::Windows::Controls::ExpandDirection value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Controls.ExpandDirection ExpandDirection { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.ExpandDirection : System.Windows.Controls.ExpandDirection with get, set
Public Property ExpandDirection As ExpandDirection

Eigenschaftswert

Einer der ExpandDirection Werte, die definiert, in welche Richtung das Inhaltsfenster geöffnet wird. Der Standardwert lautet Down.

Attribute

Beispiele

Im folgenden Beispiel wird gezeigt, wie die -Eigenschaft festgelegt wird ExpandDirection .

myExpanderOpensUp.ExpandDirection = ExpandDirection.Up;
myExpanderOpensUp.ExpandDirection = ExpandDirection.Up
<Expander Name ="myExpanderOpensUp" ExpandDirection="Up" 
          Header ="expanderTitle" Content="expanderContent"/>

Hinweise

Informationen zur Abhängigkeitseigenschaft

Element Wert
Bezeichnerfeld ExpandDirectionProperty
Auf Metadateneigenschaften festgelegt true BindsTwoWayByDefault

Gilt für:

Weitere Informationen