Version

HierarchicalDataTemplate Class Members

The following tables list the members exposed by HierarchicalDataTemplate.

Public Constructors
 NameDescription
Public ConstructorHierarchicalDataTemplate ConstructorInitializes a new instance of the HierarchicalDataTemplate class.  
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)DefaultItemsContainerPropertyIdentifies the DefaultItemsContainer dependency property.  
Public Fieldstatic (Shared in Visual Basic)HierarchicalItemTemplatePropertyIdentifies the HierarchicalItemTemplate dependency property.  
Public Fieldstatic (Shared in Visual Basic)ItemContainerStylePropertyIdentifies the ItemContainerStyle dependency property.  
Public Fieldstatic (Shared in Visual Basic)ItemTemplatePropertyIdentifies the ItemTemplate dependency property.  
Public Fieldstatic (Shared in Visual Basic)TemplatePropertyIdentifies the Template dependency property.  
Public Properties
 NameDescription
Public PropertyCanFreezeGets a value that indicates whether the object can be made unmodifiable. (Inherited from System.Windows.Freezable)
Public PropertyDefaultItemsContainerGets or sets a DataTemplate whose content will be used as the default container for all generated children items of the owning object.  
Public PropertyDependencyObjectTypeGets the System.Windows.DependencyObjectType that wraps the CLR type of this instance. (Inherited from System.Windows.DependencyObject)
Public PropertyDispatcherGets the System.Windows.Threading.Dispatcher this System.Windows.Threading.DispatcherObject is associated with. (Inherited from System.Windows.Threading.DispatcherObject)
Public PropertyHierarchicalItemTemplateGets or sets the HierarchicalDataTemplate that describes the visual structure for an object's children.  
Public PropertyIsFrozenGets a value that indicates whether the object is currently modifiable. (Inherited from System.Windows.Freezable)
Public PropertyIsSealedGets a value that indicates whether this instance is currently sealed (read-only). (Inherited from System.Windows.DependencyObject)
Public PropertyItemContainerStyleGets or sets the style that is used when rendering the children of the owning object.  
Public PropertyItemsSourceGets or sets the binding used for obtaining the items source.  
Public PropertyItemTemplateGets or sets the System.Windows.DataTemplate that will be used to describe each child item of an object.  
Public PropertyTemplateGets or sets the DataTemplate that will be used to describe how the owning object will be be laid out.  
Public Methods
 NameDescription
Public MethodClearValueOverloaded. Clears the local value of a property. The property to be cleared is specified by a System.Windows.DependencyProperty identifier. (Inherited from System.Windows.DependencyObject)
Public MethodCloneCreates a modifiable clone of the System.Windows.Freezable, making deep copies of the object's values. When copying the object's dependency properties, this method copies expressions (which might no longer resolve) but not animations or their current values. (Inherited from System.Windows.Freezable)
Public MethodCloneCurrentValueCreates a modifiable clone (deep copy) of the System.Windows.Freezable using its current values. (Inherited from System.Windows.Freezable)
Public MethodCoerceValueCoerces the value of the specified dependency property. This is accomplished by invoking any System.Windows.CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodEquals (Inherited from System.Windows.DependencyObject)
Public MethodFreezeMakes the current object unmodifiable and sets its System.Windows.Freezable.IsFrozen property to true. (Inherited from System.Windows.Freezable)
Public MethodGetAsFrozenCreates a frozen copy of the System.Windows.Freezable, using base (non-animated) property values. Because the copy is frozen, any frozen sub-objects are copied by reference. (Inherited from System.Windows.Freezable)
Public MethodGetCurrentValueAsFrozenCreates a frozen copy of the System.Windows.Freezable using current property values. Because the copy is frozen, any frozen sub-objects are copied by reference. (Inherited from System.Windows.Freezable)
Public MethodGetHashCodeGets a hash code for this System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodGetLocalValueEnumeratorCreates a specialized enumerator for determining which dependency properties have locally set values on this System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodGetValueReturns the current effective value of a dependency property on this instance of a System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodInvalidateProperty (Inherited from System.Windows.DependencyObject)
Public MethodReadLocalValueReturns the local value of a dependency property, if it exists. (Inherited from System.Windows.DependencyObject)
Public MethodSetCurrentValue (Inherited from System.Windows.DependencyObject)
Public MethodSetValueOverloaded. Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from System.Windows.DependencyObject)
Protected Methods
 NameDescription
Protected MethodCloneCoreOverridden. Makes the instance a clone (deep copy) of the specified HierarchicalDataTemplate using base (non-animated) property values.  
Protected MethodCloneCurrentValueCoreOverridden. Makes the instance a modifiable clone (deep copy) of the object using current property values.  
Protected MethodCreateInstanceInitializes a new instance of the System.Windows.Freezable class. (Inherited from System.Windows.Freezable)
Protected MethodCreateInstanceCoreOverridden. Creates a new instance of a HierarchicalDataTemplate  
Protected MethodFreezeCoreMakes the System.Windows.Freezable object unmodifiable or tests whether it can be made unmodifiable. (Inherited from System.Windows.Freezable)
Protected MethodGetAsFrozenCoreOverridden. Makes the instance a frozen clone of the specified HierarchicalDataTemplate using base (non-animated) property values.  
Protected MethodGetCurrentValueAsFrozenCoreOverridden. Makes the current instance a frozen clone of the specified HierarchicalDataTemplate. If the object has animated dependency properties, their current animated values are copied.  
Protected MethodOnChangedCalled when the current System.Windows.Freezable object is modified. (Inherited from System.Windows.Freezable)
Protected MethodOnFreezablePropertyChangedOverloaded. Ensures that appropriate context pointers are established for a System.Windows.DependencyObjectType data member that has just been set. (Inherited from System.Windows.Freezable)
Protected MethodOnPropertyChangedOverrides the System.Windows.DependencyObject implementation of System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs) to also invoke any System.Windows.Freezable.Changed handlers in response to a changing dependency property of type System.Windows.Freezable. (Inherited from System.Windows.Freezable)
Protected MethodReadPreambleEnsures that the System.Windows.Freezable is being accessed from a valid thread. Inheritors of System.Windows.Freezable must call this method at the beginning of any API that reads data members that are not dependency properties. (Inherited from System.Windows.Freezable)
Protected Internal MethodShouldSerializePropertyReturns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (Inherited from System.Windows.DependencyObject)
Protected MethodWritePostscriptRaises the System.Windows.Freezable.Changed event for the System.Windows.Freezable and invokes its System.Windows.Freezable.OnChanged method. Classes that derive from System.Windows.Freezable should call this method at the end of any API that modifies class members that are not stored as dependency properties. (Inherited from System.Windows.Freezable)
Protected MethodWritePreambleVerifies that the System.Windows.Freezable is not frozen and that it is being accessed from a valid threading context. System.Windows.Freezable inheritors should call this method at the beginning of any API that writes to data members that are not dependency properties. (Inherited from System.Windows.Freezable)
Public Events
 NameDescription
Public EventChangedOccurs when the System.Windows.Freezable or an object it contains is modified. (Inherited from System.Windows.Freezable)
See Also