ControlTemplate Members
.NET Framework 3.0
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 | |
|---|---|---|
| ControlTemplate | Overloaded. Initializes a new instance of the ControlTemplate class. |
| Name | Description | |
|---|---|---|
| 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) |
| Resources | Gets or sets the collection of resources that can be used within the scope of this template.(inherited from FrameworkTemplate) |
| TargetType | Gets or sets the type for which this ControlTemplate is intended. |
| Triggers | Gets a collection of TriggerBase objects that apply property changes or perform actions based on specified conditions. |
| VisualTree | Gets or sets the root node of the template.(inherited from FrameworkTemplate) |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| CheckAccess | Determines whether the calling thread has access to this DispatcherObject. (inherited from DispatcherObject) |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| FindName | Finds the element associated with the specified name defined within this template. (inherited from FrameworkTemplate) |
| GetHashCode | Serves as a hash function for a particular type. (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) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| RegisterName | Registers a new name-object pair into the current name scope. (inherited from FrameworkTemplate) |
| Seal | Locks this template so it cannot be changed. (inherited from FrameworkTemplate) |
| ShouldSerializeResources | Returns whether serialization processes should serialize the value of the Resources property on instances of this class. (inherited from FrameworkTemplate) |
| ShouldSerializeVisualTree | Returns 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 | Removes a name-object mapping from the name scope. (inherited from FrameworkTemplate) |
| VerifyAccess | Enforces that the calling thread has access to this DispatcherObject. (inherited from DispatcherObject) |
| Name | Description | |
|---|---|---|
| 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) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
| ValidateTemplatedParent | Overridden. Checks the templated parent against a set of rules. |