ESRI.ArcGIS.ADF.Web.UI.WebControls
ShowLegend Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > FloatingPanelTask 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) 
<PersistenceModeAttribute()>
<BrowsableAttribute(True)>
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
<ResDescriptionAttribute("Whether the results of this task will have a legend.")>
<ResCategoryAttribute("Task")>
Public Overridable Property ShowLegend As Boolean
Visual Basic (Usage)Copy Code
Dim instance As FloatingPanelTask
Dim value As Boolean
 
instance.ShowLegend = value
 
value = instance.ShowLegend
C# 
[PersistenceModeAttribute()]
[BrowsableAttribute(true)]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[ResDescriptionAttribute("Whether the results of this task will have a legend.")]
[ResCategoryAttribute("Task")]
public virtual bool ShowLegend {get; set;}

Remarks

If this property is set to true, and the results are a GraphicsLayer, the results displayed in the TaskResults control will include a legend for the symbol used to show selected features. The color of the legend item is in the FeatureSelectionColor. The type of of legend symbol depends on whether the features are point, line or polygon.

See Also

© 2010 All Rights Reserved.