Bewerken

Delen via


ItemContainerTemplate Class

Definition

Provides the template for producing a container for an ItemsControl object.

public ref class ItemContainerTemplate : System::Windows::DataTemplate
[System.Windows.Markup.DictionaryKeyProperty("ItemContainerTemplateKey")]
public class ItemContainerTemplate : System.Windows.DataTemplate
[<System.Windows.Markup.DictionaryKeyProperty("ItemContainerTemplateKey")>]
type ItemContainerTemplate = class
    inherit DataTemplate
Public Class ItemContainerTemplate
Inherits DataTemplate
Inheritance
Attributes

Constructors

ItemContainerTemplate()

Initializes a new instance of the ItemContainerTemplate class.

Properties

DataTemplateKey

Gets the default key of the DataTemplate.

(Inherited from DataTemplate)
DataType

Gets or sets the type for which this DataTemplate is intended.

(Inherited from DataTemplate)
Dispatcher

Gets the Dispatcher this DispatcherObject is associated with.

(Inherited from DispatcherObject)
HasContent

Gets a value that indicates whether this template has optimized content.

(Inherited from FrameworkTemplate)
IsSealed

Gets a value that indicates whether this object is in an immutable state so it cannot be changed.

(Inherited from FrameworkTemplate)
ItemContainerTemplateKey

Gets the default key of the ItemContainerTemplate.

Resources

Gets or sets the collection of resources that can be used within the scope of this template.

(Inherited from FrameworkTemplate)
Template

Gets or sets a reference to the object that records or plays the XAML nodes for the template when the template is defined or applied by a writer.

(Inherited from FrameworkTemplate)
Triggers

Gets a collection of triggers that apply property values or perform actions based on one or more conditions.

(Inherited from DataTemplate)
VisualTree

Gets or sets the root node of the template.

(Inherited from FrameworkTemplate)

Methods

CheckAccess()

Determines whether the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
FindName(String, FrameworkElement)

Finds the element associated with the specified name defined within this template.

(Inherited from FrameworkTemplate)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
LoadContent()

Loads the content of the template as an instance of an object and returns the root element of the content.

(Inherited from FrameworkTemplate)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RegisterName(String, Object)

Registers a new name/object pair into the current name scope.

(Inherited from FrameworkTemplate)
Seal()

Locks the template so it cannot be changed.

(Inherited from FrameworkTemplate)
ShouldSerializeResources(XamlDesignerSerializationManager)

Returns a value that indicates whether serialization processes should serialize the value of the Resources property on instances of this class.

(Inherited from FrameworkTemplate)
ShouldSerializeVisualTree()

Returns a value that indicates whether serialization processes should serialize the value of the VisualTree property on instances of this class.

(Inherited from FrameworkTemplate)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
UnregisterName(String)

Removes a name/object mapping from the XAML namescope.

(Inherited from FrameworkTemplate)
ValidateTemplatedParent(FrameworkElement)

Checks the templated parent against a set of rules.

(Inherited from DataTemplate)
VerifyAccess()

Enforces that the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)

Explicit Interface Implementations

INameScope.FindName(String)

Returns an object that has the provided identifying name.

(Inherited from FrameworkTemplate)
IQueryAmbient.IsAmbientPropertyAvailable(String)

Queries whether a specified ambient property is available in the current scope.

(Inherited from FrameworkTemplate)

Applies to