ArcGIS API for Silverlight - Library Reference
Template Property
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Toolkit.Primitives Namespace > LegendItemViewModel Class : Template Property

Gets or sets the template for this legend item. Depending on the type of item, the template can be the LegendItemTemplate , the LayerTemplate or the ESRI.ArcGIS.Client.Toolkit.Legend.MapLayerTemplate. The template can also be set explicitely by code.

Syntax

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

Property Value

The template.

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.