PersonPicture.TemplateSettings 속성

정의

PersonPicture에 대한 템플릿을 정의할 때 TemplatedParent 원본으로 참조할 수 있는 계산된 값을 제공합니다. 일반적인 용도로는 사용할 수 없습니다.

이 설명서는 UWP용 WinUI 2에 적용됩니다(Windows 앱 SDKWinUI의 경우 Windows 앱 SDK 네임스페이스 참조).

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; }
Public ReadOnly Property TemplateSettings As PersonPictureTemplateSettings

속성 값

템플릿에 대해 계산된 값을 제공하는 개체입니다.

특성
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyFieldAttribute

예제

자세한 정보, 디자인 지침 및 코드 예제는 인물 사진을 참조하세요.

WinUI 3 갤러리WinUI 2 갤러리 앱에는 대부분의 WinUI 3 및 WinUI 2 컨트롤, 특징, 기능의 대화형 예제가 포함되어 있습니다.

이미 설치된 경우 WinUI 3 갤러리 또는 WinUI 2 갤러리 링크를 클릭하여 갤러리를 엽니다.

설치되지 않은 경우 Microsoft Store에서 WinUI 3 갤러리WinUI 2 갤러리를 다운로드할 수 있습니다.

GitHub에서 두 갤러리의 소스 코드를 가져올 수도 있습니다(WinUI 3는 main 분기, WinUI 2는 winui2 분기 사용).

적용 대상

추가 정보