PersonPicture.TemplateSettings Property

Definition

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a PersonPicture. Not intended for general use.

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

Property Value

An object that provides calculated values for templates.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyFieldAttribute

Examples

Tip

For more info, design guidance, and code examples, see Person picture.

The WinUI 3 Gallery app includes interactive examples of most WinUI 3 controls, features, and functionality. Get the app from the Microsoft Store or get the source code on GitHub.

Applies to

See also