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