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) | |
|---|
<ResDescriptionAttribute("Whether the results of this task will have a legend. Legend is only available if GroupResultsByTable is True.")>
<ResCategoryAttribute("Task")>
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
<BrowsableAttribute(True)>
<PersistenceModeAttribute()>
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# | |
|---|
[ResDescriptionAttribute("Whether the results of this task will have a legend. Legend is only available if GroupResultsByTable is True.")]
[ResCategoryAttribute("Task")]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[BrowsableAttribute(true)]
[PersistenceModeAttribute()]
public virtual bool ShowLegend {get; set;} |
See Also