Share via


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)]
public sealed class TemplatePartAttribute : Attribute
Public NotInheritable Class TemplatePartAttribute
Inherits Attribute
Inheritance
TemplatePartAttribute
Attributes

Constructors

TemplatePartAttribute()

Initializes a new instance of the TemplatePartAttribute class.

Fields

Name
Type

Applies to

See also