Class SelectTool
Interactive tool for changing the current selected nodes in a diagram.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Windows.dll
Syntax
public class SelectTool : UITool, IDisposable
Remarks
Constructors
SelectTool(DiagramController)
Initializes a new instance of the SelectTool class.
Declaration
public SelectTool(DiagramController controller)
Parameters
Type | Name | Description |
---|---|---|
DiagramController | controller | The controller. |
SelectTool(DiagramController, SelectMode)
Initializes a new instance of the SelectTool class.
Declaration
public SelectTool(DiagramController controller, SelectMode selectMode)
Parameters
Type | Name | Description |
---|---|---|
DiagramController | controller | The controller. |
SelectMode | selectMode | The select mode. |
Properties
SelectMode
Gets or sets the selection mode for the tool.
Declaration
public SelectMode SelectMode { get; set; }
Property Value
Type | Description |
---|---|
SelectMode | A SelectMode value. |
TrackingStyle
Gets or sets the tracking style.
Declaration
public LineStyle TrackingStyle { get; set; }
Property Value
Type | Description |
---|---|
LineStyle | The tracking style. |
Methods
Dispose()
Declaration
public override void Dispose()
Overrides
Draw(Graphics)
Draws the specified graphics.
Declaration
public override void Draw(Graphics gfx)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | gfx | Graphics to draw on. |
Overrides
ProcessMouseMove(MouseEventArgs)
Processes the mouse move.
Declaration
public override Tool ProcessMouseMove(MouseEventArgs evtArgs)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | evtArgs | The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Returns
Type | Description |
---|---|
Tool | The tool. |
Overrides
ProcessMouseUp(MouseEventArgs)
Processes the mouse up.
Declaration
public override Tool ProcessMouseUp(MouseEventArgs evtArgs)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | evtArgs | The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Returns
Type | Description |
---|---|
Tool | The tool. |
Overrides
Implements
System.IDisposable