![]() ![]() |
ESRI.ArcGIS.ADF.Web.UI.WebControls | |
ScrollWheelZoomDirection Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : ScrollWheelZoomDirection Property |
Visual Basic (Declaration) | |
---|---|
<PersistenceModeAttribute(PersistenceMode.Attribute)> <ResDescriptionAttribute("The direction of zoom when using the mouse scroll wheel.")> <DefaultValueAttribute()> <ResCategoryAttribute("Map Behavior")> Public Property ScrollWheelZoomDirection As ScrollWheelZoomDirection |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Map Dim value As ScrollWheelZoomDirection instance.ScrollWheelZoomDirection = value value = instance.ScrollWheelZoomDirection |
C# | |
---|---|
[PersistenceModeAttribute(PersistenceMode.Attribute)] [ResDescriptionAttribute("The direction of zoom when using the mouse scroll wheel.")] [DefaultValueAttribute()] [ResCategoryAttribute("Map Behavior")] public ScrollWheelZoomDirection ScrollWheelZoomDirection {get; set;} |
Property Value
Boolean value indicating whether the mouse scroll wheel may be used for map zoom.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.
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