TemplateKey Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When used as a resource key for a data template, allows the data template to participate in the lookup process.
public ref class TemplateKey abstract : System::Windows::ResourceKey, System::ComponentModel::ISupportInitialize
[System.ComponentModel.TypeConverter(typeof(System.Windows.Markup.TemplateKeyConverter))]
public abstract class TemplateKey : System.Windows.ResourceKey, System.ComponentModel.ISupportInitialize
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Markup.TemplateKeyConverter))>]
type TemplateKey = class
inherit ResourceKey
interface ISupportInitialize
Public MustInherit Class TemplateKey
Inherits ResourceKey
Implements ISupportInitialize
- Inheritance
- Derived
- Attributes
- Implements
Template |
Initializes a new instance of the TemplateKey class with the specified parameters. This constructor is protected. |
Template |
Initializes a new instance of the TemplateKey class with the specified template type. This constructor is protected. |
Assembly |
Gets or sets the assembly that contains the template definition. |
Data |
Gets or sets the type for which the template is designed. |
Equals(Object) |
Returns a value that indicates whether the given instance is identical to this instance of TemplateKey. |
Get |
Returns the hash code for this instance of TemplateKey. |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Provide |
Returns this ResourceKey. Instances of this class are typically used as a key in a dictionary. (Inherited from ResourceKey) |
To |
Returns a string representation of this TemplateKey. |
ISupport |
This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. |
ISupport |
This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. |
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: