ArcGIS API for WPF - Library Reference
ControlTemplate Property
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Symbols Namespace > Symbol Class : ControlTemplate Property

Gets or sets the control template used for this symbol.

Syntax

Visual Basic (Declaration) 
Public Property ControlTemplate As ControlTemplate
C# 
public ControlTemplate ControlTemplate {get; set;}

Property Value

The control template.

Remarks

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".

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.