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


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
    Syntax
    'Declaration
     
    
    <System.SerializableAttribute()>
    Public MustInherit Class NDragTool 
       Inherits NMouseAndKeyboardTool
       Implements INKeyboardEventProcessor, INMouseEventProcessor, Nevron.INReferenceHolder 
    'Usage
     
    
    Dim instance As NDragTool
    [System.Serializable()]
    public abstract class NDragTool : NMouseAndKeyboardTool, INKeyboardEventProcessor, INMouseEventProcessor, Nevron.INReferenceHolder  
    Remarks
    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

    System.Object
       Nevron.Diagram.WinForm.NTool
          Nevron.Diagram.WinForm.NMouseAndKeyboardTool
             Nevron.Diagram.WinForm.NDragTool
                Nevron.Diagram.WinForm.NDrawingDragTool
                Nevron.Diagram.WinForm.NLibraryDragTool

    Requirements

    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