ControlTemplate Class
namespace Noesis | MSDN
Specifies the visual structure and behavioral aspects of a Control that can be shared across multiple instances of the control.
Properties
Name | Description | |
---|---|---|
![]() |
TargetType | Gets or sets the type for which this template is intended |
![]() |
Triggers | Gets a collection of TriggerBase objects that apply property changes or perform actions based on specified conditions |
Dependency Property
Read-only
From FrameworkTemplate
Name | Description | |
---|---|---|
![]() |
Resources | Gets or sets the collection of resources that can be used within the scope of this template |
![]() |
VisualTree | Gets or sets the root node of the template |
Dependency Property
Read-only
Methods
From FrameworkTemplate
Name | Description |
---|---|
Apply | Applies current template to the specified element |
FindName | Finds the element associated with the specified name defined within this template |
FindName | Returns an object that has the provided identifying name |
FindObject | Finds if element is a named object registered in the template. Returns null if not found |
GetAvailableTriggers | Gets template triggers if available |
RegisterName | Registers the provided name into the current XAML namescope |
UnregisterName | Unregisters the provided name from the current XAML namescope |
UpdateName | Updates previously registered item with new one. This is required to refresh Binginds when freezables are cloned during animations |
Events
ControlTemplate has no events
Table of Contents