This document is archived and information here might be outdated. Recommended version. |
Indicates whether keyboard scrolling is enabled.
[Visual Basic .NET] Public Property AutoKeyboardScrolling As Boolean
[C#] public bool AutoKeyboardScrolling {get; set;}
[C++]
HRESULT get_AutoKeyboardScrolling(
void
);
[C++]
HRESULT put_AutoKeyboardScrolling(
);
Determines whether the 'Home' (keyCode 36), 'End' (keyCode 35), 'Page Down' (keyCode 34), 'PageUp' (keyCode 33) and 'Arrow' (keyCode 37-40) keys on the keyboard can be used to pan around the control's display. This property is true by default.
Most development environments use the 'Arrow' keys to switch focus between the controls embedded in a form or container. In such environments the MapControl will not by default receive the 'Arrow' keys to pan the display. To ensure 'Arrow' keys are received by the MapControl the KeyIntercept property must be set to intercept the 'Arrow' keys in order to pan the display when AutoKeyboardScrolling is true.