Linguaggio

Expander.TemplateSettings Proprietà

Definizione

Ottiene un oggetto che fornisce valori calcolati a cui è possibile fare riferimento come origini TemplatedParent durante la definizione di modelli per un oggetto Expander.

public:
 property ExpanderTemplateSettings ^ TemplateSettings { ExpanderTemplateSettings ^ get(); };
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyField]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyField]
ExpanderTemplateSettings TemplateSettings();
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyField]
public ExpanderTemplateSettings TemplateSettings { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyField] get; }
var expanderTemplateSettings = expander.templateSettings;
Public ReadOnly Property TemplateSettings As ExpanderTemplateSettings

Valore della proprietà

Istanza di ExpanderTemplateSettings.

Attributi
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyFieldAttribute

Esempio

Tip

Per altre info, indicazioni sulla progettazione ed esempi di codice, vedi Expander.

L'app Raccolta WinUI 3 include esempi interattivi della maggior parte dei controlli e delle funzionalità di WinUI 3. Ottenere l'app dal Microsoft Store o ottenere il codice sorgente in GitHub.

Si applica a