InputPropertyAttribute 類別

定義

表示屬性,這個屬性表示類型的哪個屬性是 XAML 輸入屬性。 XAML 處理器會在處理屬性化類型之 XAML 表示的 XAML 子項目時,使用這項資訊。

public ref class InputPropertyAttribute sealed : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public sealed class InputPropertyAttribute : Attribute
Public NotInheritable Class InputPropertyAttribute
Inherits Attribute
繼承
InputPropertyAttribute
屬性

建構函式

InputPropertyAttribute()

初始化 InputPropertyAttribute 類別的新實例。

欄位

Name

屬性名稱。

適用於

另請參閱