Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NDragTool Class

In This Topic
    NDragTool Class
    In This Topic
    The NDragTool abstract class serves as base class for all tools, which perform some drag operations in views
    Object Model
    NDragTool Class
    Public MustInherit Class NDragTool 
       Inherits NMouseAndKeyboardTool
       Implements INKeyboardEventProcessor, INMouseEventProcessor, Nevron.INReferenceHolder 
    Dim instance As NDragTool
    public abstract class NDragTool : NMouseAndKeyboardTool, INKeyboardEventProcessor, INMouseEventProcessor, Nevron.INReferenceHolder  
    NDragTool derivates are typically activated and deactivated on mouse down and up events. The NDragTool class exposes the StartMouseEvent and EndMouseEvent properties, which help you control the drag tool start and end events (by default set to LeftButtonDown and LeftButtonUp respectively). The AbortKey property controls the key, which aborts the tool and is by default set to the Escape key.
    Inheritance Hierarchy



    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also