Nevron .NET Vision
NTool Class
Members 

The NTool abstract class serves as base class for all tools
Object Model
NTool Class
Syntax
'Declaration
 
<System.SerializableAttribute()>
Public MustInherit Class NTool 
   Implements Nevron.INReferenceHolder 
[System.Serializable()]
public abstract class NTool : Nevron.INReferenceHolder  
Remarks
In essence tools are user event processors, which interpret the events dispatched to them by the controller to perform tool specific actions.

Tools can operate in two states - active and inactive. When a tool is active it will receive all user events. The transition between these states is performed by the Activate and Deactivate methods. You must call the CanActivate method prior to calling the Activate method and the CanDeactivate method prior to calling the Deactivate method. The actual work performed by tools, which can activate is performed by the Deactivate method. If a tool is active you can always abort it by calling the Abort method.

Inheritance Hierarchy

System.Object
   Nevron.Diagram.WinForm.NTool
      Nevron.Diagram.WinForm.NDragDropTool
      Nevron.Diagram.WinForm.NMouseAndKeyboardTool

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

Reference

NTool Members
Nevron.Diagram.WinForm Namespace

 

 


©2021. Nevron Software LLC.

Send Feedback