共用方式為


StyleKey<T> Class

Definition

Simple derivation of ResourceKey, templated to allow the overridden Assembly property to return the correct assembly based on typeof(T).

generic <typename T>
public ref class StyleKey sealed : System::Windows::ResourceKey
public sealed class StyleKey<T> : System.Windows.ResourceKey
type StyleKey<'T> = class
    inherit ResourceKey
Public NotInheritable Class StyleKey(Of T)
Inherits ResourceKey

Type Parameters

T

The type with which this StyleKey is associated with.

Inheritance
StyleKey<T>

Constructors

StyleKey<T>()

Microsoft internal use only.

Properties

Assembly

Microsoft internal use only.

Applies to