Indicates whether keyboard scrolling is enabled.
[Visual Basic .NET] Public Property AutoKeyboardScrolling As Boolean
[C#] public bool AutoKeyboardScrolling {get; set;}
[C++]
HRESULT get_AutoKeyboardScrolling(
VARIANT_BOOL* Enabled
);
[C++]
HRESULT put_AutoKeyboardScrolling(
VARIANT_BOOL Enabled
);
[C++]Parameters
Enabled [out, retval] Enabled is a parameter of type VARIANT_BOOL Enabled [in] Enabled is a parameter of type VARIANT_BOOL
Product Availability
Available with ArcGIS Engine.
Description
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.