TemplatePartAttribute TemplatePartAttribute TemplatePartAttribute Class

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

Syntax

Declaration

public sealed class TemplatePartAttributepublic sealed class TemplatePartAttributePublic NotInheritable Class TemplatePartAttribute

Constructors summary

Initializes a new instance of the TemplatePartAttribute class.

Constructors

  • TemplatePartAttribute()
    TemplatePartAttribute()
    TemplatePartAttribute()
    TemplatePartAttribute()

    Initializes a new instance of the TemplatePartAttribute class.

    public TemplatePartAttribute()public New()Public Sub New()public TemplatePartAttribute()

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.AllowMultipleAttribute
Windows.Foundation.Metadata.AttributeUsageAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.dll