StyleTypedPropertyAttribute 类

定义

表示应用于类定义的属性,并确定类型为 Style 的属性的 TargetType

/// [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 的属性的 TargetType

StyleTargetType

表示应用于类定义的属性,并确定类型为 Style 的属性的 TargetType

适用于

另请参阅