ESRI.ArcGIS.ADF.Web.UI.WebControls
ShowLegend Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > MapDisplayNode Class : ShowLegend Property




Whether to display a legend for the layer.

Syntax

Visual Basic (Declaration) 
Public Property ShowLegend As Boolean
Visual Basic (Usage)Copy Code
Dim instance As MapDisplayNode
Dim value As Boolean
 
instance.ShowLegend = value
 
value = instance.ShowLegend
C# 
public bool ShowLegend {get; set;}

Remarks

The legend may display within the task results itself (if the extending class is a GraphicsLayerNode) or in a Toc control associated with the Map (if a MapResourceNode).

See Also

© 2010 All Rights Reserved.