This document is archived and information here might be outdated.  Recommended version.


IPageLayoutControlDefault.AutoKeyboardScrolling Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IP > IPageLayoutControlDefault Interface > IPageLayoutControlDefault.AutoKeyboardScrolling Property
ArcGIS Developer Help

IPageLayoutControlDefault.AutoKeyboardScrolling Property

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(
);

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 PageLayoutControl will not by default receive the 'Arrow' keys to pan the display. To ensure 'Arrow' keys are received by the PageLayoutControl the KeyIntercept property must be set to intercept the 'Arrow' keys in order to pan the display when AutoKeyboardScrolling is true.

See Also

IPageLayoutControlDefault Interface