Expander.ExpandDirection Proprietà
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Ottiene o imposta la direzione in cui viene aperta la finestra del Expander contenuto.
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
Valore della proprietà
Uno dei ExpandDirection valori che definisce la direzione in cui viene aperta la finestra del contenuto. Il valore predefinito è Down.
- Attributi
Esempio
Nell'esempio seguente viene illustrato come impostare la ExpandDirection proprietà .
myExpanderOpensUp.ExpandDirection = ExpandDirection.Up;
myExpanderOpensUp.ExpandDirection = ExpandDirection.Up
<Expander Name ="myExpanderOpensUp" ExpandDirection="Up"
Header ="expanderTitle" Content="expanderContent"/>
Commenti
Informazioni sulle proprietà di dipendenza
| Elemento | Valore |
|---|---|
| Campo Identificatore | ExpandDirectionProperty |
Proprietà dei metadati impostate su true |
BindsTwoWayByDefault |