| Visual Basic (Declaration) | |
|---|---|
Public Property ScrollWheelZoom As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public bool ScrollWheelZoom {get; set;} | |
Return 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 XP Professional, Windows Server 2003 family