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




If true, displays a legend for a graphics layer in the task results control. Legend is only available if GroupByTable is True.

Syntax

Visual Basic (Declaration) 
<BrowsableAttribute(True)>
<PersistenceModeAttribute(PersistenceMode.Attribute)>
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
<ResDescriptionAttribute("Whether the results of this task will have a legend.  Legend is only available if GroupResultsByTable is True.")>
<ResCategoryAttribute("Task")>
Public Overridable Property ShowLegend As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Task
Dim value As Boolean
 
instance.ShowLegend = value
 
value = instance.ShowLegend
C# 
[BrowsableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[ResDescriptionAttribute("Whether the results of this task will have a legend.  Legend is only available if GroupResultsByTable is True.")]
[ResCategoryAttribute("Task")]
public virtual bool ShowLegend {get; set;}

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.