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




Whether to display a legend for the layer.

Syntax

Visual Basic (Declaration) 
Public Shadows 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 new 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).

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.