共用方式為


StyleTypedPropertyAttribute 類別

定義

表示套用至類別定義的屬性,並決定屬於 Style類型的屬性TargetTypes

/// [Windows.Foundation.Metadata.AllowMultiple]
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
class StyleTypedPropertyAttribute final : Attribute
/// [Windows.Foundation.Metadata.AllowMultiple]
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.AttributeName("styletypedproperty")]
class StyleTypedPropertyAttribute final : Attribute
[Windows.Foundation.Metadata.AllowMultiple]
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public sealed class StyleTypedPropertyAttribute : Attribute
[Windows.Foundation.Metadata.AllowMultiple]
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.AttributeName("styletypedproperty")]
public sealed class StyleTypedPropertyAttribute : Attribute
Public NotInheritable Class StyleTypedPropertyAttribute
Inherits Attribute
繼承
StyleTypedPropertyAttribute
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

建構函式

StyleTypedPropertyAttribute()

初始化 StyleTypedPropertyAttribute 類別的新實例。

欄位

Property

表示套用至類別定義的屬性,並決定屬於 Style類型的屬性TargetTypes

StyleTargetType

表示套用至類別定義的屬性,並決定屬於 Style類型的屬性TargetTypes

適用於

另請參閱