TemplatePartAttribute Class

Definition

Represents an attribute that is applied to the class definition to identify the types of the named parts that are used for templating.

[Windows.Foundation.Metadata.AllowMultiple]
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.WebHostHidden]
public sealed class TemplatePartAttribute : Attribute
Public NotInheritable Class TemplatePartAttribute
Inherits Attribute
Inheritance
TemplatePartAttribute
Attributes
Windows.Foundation.Metadata.AllowMultipleAttribute Windows.Foundation.Metadata.AttributeUsageAttribute Windows.Foundation.Metadata.ContractVersionAttribute Windows.Foundation.Metadata.WebHostHiddenAttribute

Constructors

TemplatePartAttribute()

Initializes a new instance of the TemplatePartAttribute class.

Fields

Name
Type

Applies to

See also