TemplatePartAttribute クラス

定義

テンプレートに使用される名前付きパーツの型を識別するためにクラス定義に適用される属性を表します。

[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
継承
TemplatePartAttribute
属性

コンストラクター

TemplatePartAttribute()

TemplatePartAttribute クラスの新しいインスタンスを初期化します。

フィールド

Name

テンプレートに使用される名前付きパーツの型を識別するためにクラス定義に適用される属性を表します。

Type

テンプレートに使用される名前付きパーツの型を識別するためにクラス定義に適用される属性を表します。

適用対象

こちらもご覧ください