This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISceneControl Interface > ISceneControl.Navigate Property (ArcObjects .NET 10.5 SDK) |
Indicates if the SceneControl performs default scene navigation in response to mouse events.
[Visual Basic .NET] Public Property Navigate As Boolean
[C#] public bool Navigate {get; set;}
[C++]
HRESULT get_Navigate(
VARIANT_BOOL* pVal
);
[C++]
HRESULT put_Navigate(
VARIANT_BOOL pVal
);
[C++]
Parameters pVal [out, retval] pVal is a parameter of type VARIANT_BOOL pVal [in] pVal is a parameter of type VARIANT_BOOL
The Navigate property determines whether the default SceneControl navigation functionality is enabled at run time. By default the Navigate property is set to false. When the Navigate property is set to true, the end user can use the left mouse button to navigate backwards and forwards and to the left and right of the display, and the right mouse button to zoom in and out on the display.
When the Navigate property is set to true, the OnMouseDown, OnMouseMove, OnMouseUp events are being intercepted. As such, care must be taken by developers to avoid the display becoming confused when: