Dela via


ItemContainerTemplateKey Class

Provides a resource key for an ItemContainerTemplate object.

Inheritance Hierarchy

System.Object
  System.Windows.Markup.MarkupExtension
    System.Windows.ResourceKey
      System.Windows.TemplateKey
        Microsoft.Windows.Controls.ItemContainerTemplateKey

Namespace:  Microsoft.Windows.Controls
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Class ItemContainerTemplateKey _
    Inherits TemplateKey
public class ItemContainerTemplateKey : TemplateKey
public ref class ItemContainerTemplateKey : public TemplateKey
type ItemContainerTemplateKey =  
    class
        inherit TemplateKey
    end
public class ItemContainerTemplateKey extends TemplateKey

The ItemContainerTemplateKey type exposes the following members.

Constructors

  Name Description
Public method ItemContainerTemplateKey() Initializes a new instance of the ItemContainerTemplateKey class.
Public method ItemContainerTemplateKey(Object) Initializes a new instance of the ItemContainerTemplateKey class with the specified data type.

Top

Properties

  Name Description
Public property Assembly Gets or sets the assembly that contains the template definition. (Inherited from TemplateKey.)
Public property DataType Gets or sets the type for which the template is designed. (Inherited from TemplateKey.)

Top

Methods

  Name Description
Public method Equals Returns a value that indicates whether the given instance is identical to this instance of TemplateKey. (Inherited from TemplateKey.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance of TemplateKey. (Inherited from TemplateKey.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ProvideValue Returns this ResourceKey. Instances of this class are typically used as a key in a dictionary. (Inherited from ResourceKey.)
Public method ToString Returns a string representation of this TemplateKey. (Inherited from TemplateKey.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method 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.)
Explicit interface implemetationPrivate method 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.)

Top

Thread Safety

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

See Also

Reference

Microsoft.Windows.Controls Namespace