ESRI.ArcGIS.ADF.Web.UI.WebControls
ShowResourceCheckBoxes Property
See Also  Send Feedback
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()>
<ResCategoryAttribute("Toc")>
<ResDescriptionAttribute("Whether to show resource check boxes")>
<PersistenceModeAttribute(PersistenceMode.Attribute)>
<NotifyParentPropertyAttribute(True)>
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()]
[ResCategoryAttribute("Toc")]
[ResDescriptionAttribute("Whether to show resource check boxes")]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
[NotifyParentPropertyAttribute(true)]
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.

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.