Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NMouseWheelScrollAndZoomTool Class
Fields Properties Methods


In This Topic
    NMouseWheelScrollAndZoomTool Class Members
    In This Topic

    The following tables list the members exposed by NMouseWheelScrollAndZoomTool.

    Public Constructors
     NameDescription
    Public ConstructorDefault constructor  
    Top
    Protected Fields
     NameDescription
    Protected FieldIndicates whether this tool is active. (Inherited from Nevron.Diagram.WinForm.NTool)
    Top
    Public Properties
     NameDescription
    Public PropertyGets/sets the tool abort key (Inherited from Nevron.Diagram.WinForm.NDragTool)
    Public PropertyControls the delay which must ellapse, before the tool can be activated again (in milliseconds). By default set to 500.  
    Public PropertySpecifies whether anchor anchor scrolling is allowed  
    Public PropertySpecifies whether wheel scrolling is allowed  
    Public PropertySpecifies whether wheel zooming is allowed  
    Public PropertyControls the delay which must ellapse, before the tool can be deactivated (in milliseconds). By default set to 500.  
    Public PropertyGets/sets whether to perform vertical or horizontal scrolling when the mouse wheel is rotated. By default set to true (e.g. scroll vertically)  
    Public PropertyGets/sets whether the tool is enabled (Inherited from Nevron.Diagram.WinForm.NTool)
    Public PropertyGets/sets the tool end (deactivation) event (Inherited from Nevron.Diagram.WinForm.NDragTool)
    Public PropertyGets/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.  
    Public PropertyGets/sets the name of the tool, which is unique in the tools collection of the controller (Inherited from Nevron.Diagram.WinForm.NTool)
    Public PropertyControls the distance between the start and current mouse position below which no scolling is performed  
    Public PropertyWhen 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.  
    Public PropertyGets/sets the tool start (activation) event (Inherited from Nevron.Diagram.WinForm.NDragTool)
    Public PropertyControls the speed of the anchor scrolling. Measured in milliseconds. By default set to 100.  
    Public PropertyGets/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.  
    Public PropertyControls the distance between the start and current mouse position for which the tool must perform a single unit scroll. Measured in pixels.  
    Public PropertyGets/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;  
    Top
    Protected Properties
     NameDescription
    Protected PropertyDetermines whether the tool operates in the view window area (Inherited from Nevron.Diagram.WinForm.NDragTool)
    Protected PropertyObtains the mouse info when the tool was activated (Inherited from Nevron.Diagram.WinForm.NDragTool)
    Top
    Public Methods
     NameDescription
    Public MethodOverridden. Overriden to stop the anchor scrolling feature  
    Public MethodOverridden. Overriden to start the anchor scrolling feature  
    Public MethodOverridden. Overriden to block activation, if the ActivateDelay period has not expired  
    Public MethodOverridden. Overriden to block deactivation, if the DeactiveDelay period has not expired  
    Public Method (Inherited from Nevron.Diagram.WinForm.NTool)
    Public MethodOverridden. Overriden to create the context menu editable filter  
    Public MethodOverridden. Overriden to stop the anchor scrolling feature  
    Public MethodObtains the reference provider to which the object is currently attached (Inherited from Nevron.Diagram.WinForm.NTool)
    Public MethodProcesses the is input char query (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool)
    Public MethodProcesses the is input key query (Inherited from Nevron.Diagram.WinForm.NDragTool)
    Public MethodPrecesses the mouse click event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool)
    Public MethodPrecesses the mouse double click event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool)
    Public MethodProcesses the key down event (Inherited from Nevron.Diagram.WinForm.NDragTool)
    Public MethodProcesses the key press event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool)
    Public MethodProcesses the key up event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool)
    Public MethodProcesses the mouse down event (Inherited from Nevron.Diagram.WinForm.NDragTool)
    Public MethodProcesses the mouse enter event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool)
    Public MethodPrecesses the mouse hover event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool)
    Public MethodProcesses the mouse leave event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool)
    Public MethodOverridden.   
    Public MethodProcesses the mouse up event (Inherited from Nevron.Diagram.WinForm.NDragTool)
    Public MethodOverridden. Overriden to perform the mouse wheel zoom and scroll  
    Public Method (Inherited from Nevron.Diagram.WinForm.NTool)
    Public MethodOverriden to cashe references to NDrawingView and NDrawingDocument instances (Inherited from Nevron.Diagram.WinForm.NDrawingDragTool)
    Public MethodUpdates the specified status bar info (Inherited from Nevron.Diagram.WinForm.NDrawingDragTool)
    Top
    Protected Methods
     NameDescription
    Protected MethodPerforms wheel scrolling  
    Protected MethodPerforms wheel zooming, if allowed  
    Protected Method  
    Protected MethodCalled when the tool is inactive but is ready to be activated and requests a cursor for visual feedback (Inherited from Nevron.Diagram.WinForm.NDragTool)
    Protected MethodStarts the anchor scrollings  
    Protected MethodStops the anchor scrolling  
    Protected MethodVerifies the specified new about key and throws an exception if it is not valid (Inherited from Nevron.Diagram.WinForm.NDragTool)
    Protected MethodVerifies the specified new end mouse event and throws an exception if it is not valid (Inherited from Nevron.Diagram.WinForm.NDragTool)
    Protected MethodVerifies the specified new horizontal scroll modifier key and throws an exception if it is not valid  
    Protected MethodVerifies the specified new start mouse event and throws an exception if it is not valid (Inherited from Nevron.Diagram.WinForm.NDragTool)
    Protected MethodVerifies the specified new zoom modifier key and throws an exception if it is not valid  
    Top
    See Also