Expander.IsExpanded 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 un valore che indica se la finestra del Expander contenuto è visibile.
public:
property bool IsExpanded { bool get(); void set(bool value); };
[System.ComponentModel.Bindable(true)]
public bool IsExpanded { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.IsExpanded : bool with get, set
Public Property IsExpanded As Boolean
Valore della proprietà
true se la finestra del contenuto è espansa; in caso contrario, false. Il valore predefinito è false.
- Attributi
Esempio
Nell'esempio seguente viene illustrato come impostare la IsExpanded proprietà .
myExpanderIsExpanded.IsExpanded = true;
myExpanderIsExpanded.IsExpanded = True
<Expander Name ="myExpanderIsExpanded" IsExpanded="True"
Header ="expanderTitle" Content="expanderContent"/>
Commenti
Informazioni sulle proprietà di dipendenza
| Elemento | Valore |
|---|---|
| Campo Identificatore | IsExpandedProperty |
Proprietà dei metadati impostate su true |
BindsTwoWayByDefault, Journal |