Edit

Share via


DataTemplateKey Class

Definition

Represents the resource key for the DataTemplate class.

public ref class DataTemplateKey : System::Windows::TemplateKey
public class DataTemplateKey : System.Windows.TemplateKey
type DataTemplateKey = class
    inherit TemplateKey
Public Class DataTemplateKey
Inherits TemplateKey
Inheritance

Constructors

DataTemplateKey()

Initializes a new instance of the DataTemplateKey class.

DataTemplateKey(Object)

Initializes a new instance of the DataTemplateKey class with the specified type.

Properties

Assembly

Gets or sets the assembly that contains the template definition.

(Inherited from TemplateKey)
DataType

Gets or sets the type for which the template is designed.

(Inherited from TemplateKey)

Methods

Equals(Object)

Returns a value that indicates whether the given instance is identical to this instance of TemplateKey.

(Inherited from TemplateKey)
GetHashCode()

Returns the hash code for this instance of TemplateKey.

(Inherited from TemplateKey)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ProvideValue(IServiceProvider)

Returns this ResourceKey. Instances of this class are typically used as a key in a dictionary.

(Inherited from ResourceKey)
ToString()

Returns a string representation of this TemplateKey.

(Inherited from TemplateKey)

Explicit Interface Implementations

ISupportInitialize.BeginInit()

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

(Inherited from TemplateKey)
ISupportInitialize.EndInit()

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

(Inherited from TemplateKey)

Applies to

See also