ESRI.ArcGIS.ADF.Web.UI.WebControls
ScrollWheelZoom Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : ScrollWheelZoom Property




Whether the map can be zoomed using the mouse scroll wheel.

Syntax

Visual Basic (Declaration) 
<ResCategoryAttribute("Map Behavior")>
<DefaultValueAttribute()>
<PersistenceModeAttribute()>
<ResDescriptionAttribute("Whether the map can be zoomed using the mouse scroll wheel.")>
Public Property ScrollWheelZoom As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim value As Boolean
 
instance.ScrollWheelZoom = value
 
value = instance.ScrollWheelZoom
C# 
[ResCategoryAttribute("Map Behavior")]
[DefaultValueAttribute()]
[PersistenceModeAttribute()]
[ResDescriptionAttribute("Whether the map can be zoomed using the mouse scroll wheel.")]
public bool ScrollWheelZoom {get; set;}

Return Value

Boolean value indicating whether the mouse scroll wheel may be used for map zoom.

Remarks

When this property is true (the default), the browser user may zoom the map in or out by scrolling the mouse wheel (or equivalent mechanism). If your application needs to reserve scrolling for other purposes, or it otherwise interferes with user interaction, you may wish to set this property to false.

Each click of the scroll wheel causes the Map to retrieve map tile(s) at the next scale level.

See Also

© 2010 All Rights Reserved.