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




Sets the direction of zoom the mouse wheel.

Syntax

Visual Basic (Declaration) 
<PersistenceModeAttribute()>
<DefaultValueAttribute()>
<ResCategoryAttribute("Map Behavior")>
<ResDescriptionAttribute("The direction of zoom when using the mouse scroll wheel.")>
Public Property ScrollWheelZoomDirection As ScrollWheelZoomDirection
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim value As ScrollWheelZoomDirection
 
instance.ScrollWheelZoomDirection = value
 
value = instance.ScrollWheelZoomDirection
C# 
[PersistenceModeAttribute()]
[DefaultValueAttribute()]
[ResCategoryAttribute("Map Behavior")]
[ResDescriptionAttribute("The direction of zoom when using the mouse scroll wheel.")]
public ScrollWheelZoomDirection ScrollWheelZoomDirection {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.