Name | Description | |
---|---|---|
NMouseWheelScrollAndZoomTool Constructor | Default constructor |
The following tables list the members exposed by NMouseWheelScrollAndZoomTool.
Name | Description | |
---|---|---|
NMouseWheelScrollAndZoomTool Constructor | Default constructor |
Name | Description | |
---|---|---|
m_bIsActive | Indicates whether this tool is active. (Inherited from Nevron.Diagram.WinForm.NTool) |
Name | Description | |
---|---|---|
AbortKey | Gets/sets the tool abort key (Inherited from Nevron.Diagram.WinForm.NDragTool) | |
ActivateDelay | Controls the delay which must ellapse, before the tool can be activated again (in milliseconds). By default set to 500. | |
AllowAnchorScrolling | Specifies whether anchor anchor scrolling is allowed | |
AllowWheelScrolling | Specifies whether wheel scrolling is allowed | |
AllowWheelZooming | Specifies whether wheel zooming is allowed | |
DeactiveDelay | Controls the delay which must ellapse, before the tool can be deactivated (in milliseconds). By default set to 500. | |
DefaultScrollVertical | Gets/sets whether to perform vertical or horizontal scrolling when the mouse wheel is rotated. By default set to true (e.g. scroll vertically) | |
Enabled | Gets/sets whether the tool is enabled (Inherited from Nevron.Diagram.WinForm.NTool) | |
EndMouseEvent | Gets/sets the tool end (deactivation) event (Inherited from Nevron.Diagram.WinForm.NDragTool) | |
FlipScrollDirectionModifierKey | Gets/sets the modifier key, which flips the wheel scroll direction. By default the tool will scroll either horizontally or vertically as specified by the DefaultScrollVertical property. By default set to Shift. | |
Name | Gets/sets the name of the tool, which is unique in the tools collection of the controller (Inherited from Nevron.Diagram.WinForm.NTool) | |
NoScrollDistance | Controls the distance between the start and current mouse position below which no scolling is performed | |
ScrollByDefault | When set to true the tool will scroll the view by default, otherwise it will zoom it. Use the ToggleScrollZoomModifierKey to switch to the other action). By default true. | |
StartMouseEvent | Gets/sets the tool start (activation) event (Inherited from Nevron.Diagram.WinForm.NDragTool) | |
Time | Controls the speed of the anchor scrolling. Measured in milliseconds. By default set to 100. | |
ToggleScrollZoomModifierKey | Gets/sets the modifier key, which when pressed, toggles wheel zooming and scrolling. Whether zooming or scrolling is performed by default is specified by the ScrollByDefault property. By default set to Control. | |
UnitScrollDistance | Controls the distance between the start and current mouse position for which the tool must perform a single unit scroll. Measured in pixels. | |
ZoomToMouseCursor | Gets/sets whether to zoom to the the mouse cursor center. When set to true, the zooming will preserve the current mouse position projection in viewport coordinates. When set to false, the zooming will preserve the current viewport center. By default set to true; |
Name | Description | |
---|---|---|
OperatesInWindowArea | Determines whether the tool operates in the view window area (Inherited from Nevron.Diagram.WinForm.NDragTool) | |
StartMouseInfo | Obtains the mouse info when the tool was activated (Inherited from Nevron.Diagram.WinForm.NDragTool) |
Name | Description | |
---|---|---|
Abort | Overridden. Overriden to stop the anchor scrolling feature | |
Activate | Overridden. Overriden to start the anchor scrolling feature | |
CanActivate | Overridden. Overriden to block activation, if the ActivateDelay period has not expired | |
CanDeactivate | Overridden. Overriden to block deactivation, if the DeactiveDelay period has not expired | |
CreateFieldNonSerializedObjects | (Inherited from Nevron.Diagram.WinForm.NTool) | |
CreateNonSerializedObjects | Overridden. Overriden to create the context menu editable filter | |
Deactivate | Overridden. Overriden to stop the anchor scrolling feature | |
GetReferenceProvider | Obtains the reference provider to which the object is currently attached (Inherited from Nevron.Diagram.WinForm.NTool) | |
IsInputChar | Processes the is input char query (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool) | |
IsInputKey | Processes the is input key query (Inherited from Nevron.Diagram.WinForm.NDragTool) | |
ProcessClick | Precesses the mouse click event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool) | |
ProcessDoubleClick | Precesses the mouse double click event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool) | |
ProcessKeyDown | Processes the key down event (Inherited from Nevron.Diagram.WinForm.NDragTool) | |
ProcessKeyPress | Processes the key press event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool) | |
ProcessKeyUp | Processes the key up event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool) | |
ProcessMouseDown | Processes the mouse down event (Inherited from Nevron.Diagram.WinForm.NDragTool) | |
ProcessMouseEnter | Processes the mouse enter event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool) | |
ProcessMouseHover | Precesses the mouse hover event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool) | |
ProcessMouseLeave | Processes the mouse leave event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool) | |
ProcessMouseMove | Overridden. | |
ProcessMouseUp | Processes the mouse up event (Inherited from Nevron.Diagram.WinForm.NDragTool) | |
ProcessMouseWheel | Overridden. Overriden to perform the mouse wheel zoom and scroll | |
UpdateFieldReferences | (Inherited from Nevron.Diagram.WinForm.NTool) | |
UpdateReferences | Overriden to cashe references to NDrawingView and NDrawingDocument instances (Inherited from Nevron.Diagram.WinForm.NDrawingDragTool) | |
UpdateStatusBarInfo | Updates the specified status bar info (Inherited from Nevron.Diagram.WinForm.NDrawingDragTool) |
Name | Description | |
---|---|---|
DoWheelScroll | Performs wheel scrolling | |
DoWheelZoom | Performs wheel zooming, if allowed | |
OnScrollTimerTick | ||
RequestReadyToActivateCursor | Called when the tool is inactive but is ready to be activated and requests a cursor for visual feedback (Inherited from Nevron.Diagram.WinForm.NDragTool) | |
StartAnchorScrolling | Starts the anchor scrollings | |
StopAnchorScrolling | Stops the anchor scrolling | |
VerifyNewAbortKey | Verifies the specified new about key and throws an exception if it is not valid (Inherited from Nevron.Diagram.WinForm.NDragTool) | |
VerifyNewEndMouseEvent | Verifies the specified new end mouse event and throws an exception if it is not valid (Inherited from Nevron.Diagram.WinForm.NDragTool) | |
VerifyNewFlipScrollDirectionModifierKey | Verifies the specified new horizontal scroll modifier key and throws an exception if it is not valid | |
VerifyNewStartMouseEvent | Verifies the specified new start mouse event and throws an exception if it is not valid (Inherited from Nevron.Diagram.WinForm.NDragTool) | |
VerifyNewToggleScrollZoomModifierKey | Verifies the specified new zoom modifier key and throws an exception if it is not valid |