Share via


PersonPicture.TemplateSettings 屬性

定義

提供在定義 PersonPicture 範本時可參考為 TemplatedParent 來源的導出值。 不適用於一般用途。

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

屬性值

物件,提供範本的匯出值。

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyFieldAttribute

範例

提示

如需詳細資訊、設計指引和程式碼範例,請參閱 個人圖片

WinUI 3 資源庫應用程式包含大部分 WinUI 3 控制件、特性和功能的互動式範例。 從 Microsoft Store 取得應用程式,或在 GitHub 上取得原始程式碼。

適用於

另請參閱