ESRI.ArcGIS.ADF.Web.UI.WebControls
ShowResourceCheckBoxes Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Toc Class : ShowResourceCheckBoxes Property




Whether to display check-boxes for each resource in the map, which enables users to turn resources on and off.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<NotifyParentPropertyAttribute(True)>
<ResDescriptionAttribute("Whether to show resource check boxes")>
<PersistenceModeAttribute()>
<ResCategoryAttribute("Toc")>
Public Property ShowResourceCheckBoxes As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Toc
Dim value As Boolean
 
instance.ShowResourceCheckBoxes = value
 
value = instance.ShowResourceCheckBoxes
C# 
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[ResDescriptionAttribute("Whether to show resource check boxes")]
[PersistenceModeAttribute()]
[ResCategoryAttribute("Toc")]
public bool ShowResourceCheckBoxes {get; set;}

Remarks

By default, a check-box is displayed next to each resource (service) in the map. This allows the end user to turn the entire resource (service) off and on. If this property is set to false, no check-boxes display next to resources and the user cannot toggle visibility of resources. Any visibility changes to resources would have to be handled programmatically.

See Also

© 2010 All Rights Reserved.