Visual Basic (Declaration) | |
---|---|
Public Property ControlTemplate As ControlTemplate |
C# | |
---|---|
public ControlTemplate ControlTemplate {get; set;} |
The control template has two System.Windows.VisualStateGroups that can be used in the custom template:
Command | Description |
---|---|
CommonStates | Normal and MouseOver |
SelectionStates | Unselected and Selected |
Symbols used for Polygons and Polylines are required to contain a Path element with the name "Element".
Property Value
The control template.Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7