DataTemplateKey Class
TOC
Collapse the table of content
Expand the table of content

DataTemplateKey Class

 

Represents the resource key for the DataTemplate class.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

System.Object
  System.Windows.Markup.MarkupExtension
    System.Windows.ResourceKey
      System.Windows.TemplateKey
        System.Windows.DataTemplateKey

public class DataTemplateKey : TemplateKey

NameDescription
System_CAPS_pubmethodDataTemplateKey()

Initializes a new instance of the DataTemplateKey class.

System_CAPS_pubmethodDataTemplateKey(Object)

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

NameDescription
System_CAPS_pubpropertyAssembly

Gets or sets the assembly that contains the template definition.(Inherited from TemplateKey.)

System_CAPS_pubpropertyDataType

Gets or sets the type for which the template is designed. (Inherited from TemplateKey.)

NameDescription
System_CAPS_pubmethodEquals(Object)

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

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance of TemplateKey.(Inherited from TemplateKey.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodProvideValue(IServiceProvider)

Returns this ResourceKey. Instances of this class are typically used as a key in a dictionary. (Inherited from ResourceKey.)

System_CAPS_pubmethodToString()

Returns a string representation of this TemplateKey.(Inherited from TemplateKey.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISupportInitialize.BeginInit()

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodISupportInitialize.EndInit()

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

.NET Framework
Available since 3.0
Silverlight
Available since 5.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft