Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ControlTemplate Members

Specifies the visual structure and behavioral aspects of a Control that can be shared across multiple instances of the control.

The following tables list the members exposed by the ControlTemplate type.

  Name Description
Public method ControlTemplate Overloaded. Initializes a new instance of the ControlTemplate class.
Top
  Name Description
Public property Dispatcher  Gets the Dispatcher this DispatcherObject is associated with. (inherited from DispatcherObject)
Public property HasContent  Gets a value that indicates whether this template has optimized content.(inherited from FrameworkTemplate)
Public property IsSealed  Gets a value that indicates whether this object is in an immutable state so it cannot be changed.(inherited from FrameworkTemplate)
Public property Resources  Gets or sets the collection of resources that can be used within the scope of this template.(inherited from FrameworkTemplate)
Public property TargetType Gets or sets the type for which this ControlTemplate is intended.
Public property Triggers Gets a collection of TriggerBase objects that apply property changes or perform actions based on specified conditions.
Public property VisualTree  Gets or sets the root node of the template.(inherited from FrameworkTemplate)
Top
(see also Protected Methods )
  Name Description
Public method CheckAccess  Determines whether the calling thread has access to this DispatcherObject. (inherited from DispatcherObject)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method FindName  Finds the element associated with the specified name defined within this template. (inherited from FrameworkTemplate)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method LoadContent  Loads the content of the template as an instance of an object and returns the root element of the content. (inherited from FrameworkTemplate)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method RegisterName  Registers a new name-object pair into the current name scope. (inherited from FrameworkTemplate)
Public method Seal  Locks this template so it cannot be changed. (inherited from FrameworkTemplate)
Public method ShouldSerializeResources  Returns whether serialization processes should serialize the value of the Resources property on instances of this class. (inherited from FrameworkTemplate)
Public method ShouldSerializeVisualTree  Returns whether serialization processes should serialize the value of the VisualTree property on instances of this class. (inherited from FrameworkTemplate)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method UnregisterName  Removes a name-object mapping from the name scope. (inherited from FrameworkTemplate)
Public method VerifyAccess  Enforces that the calling thread has access to this DispatcherObject. (inherited from DispatcherObject)
Top
  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method ValidateTemplatedParent Overridden. Checks the templated parent against a set of rules.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.