TextTool Class

Interactive tool for inserting text nodes into a diagram and editing existing text nodes.
Object Model
TextTool ClassDiagramController ClassTool ClassNode Class
Public Class TextTool 
   Inherits RectangleToolBase
Dim instance As TextTool
public class TextTool : RectangleToolBase 

This tool manages the insertion of new text nodes into a diagram and editing of existing text nodes. Activating this tool causes it to track mouse down, mouse move, and mouse up events and draw a tracking rectangle. The rectangle drawn is used as the bounds of a new text node, which is inserted into the diagram using an InsertNodesCmd.

This tool also listens for double-click events. If the user double clicks on a text node, this tool opens a text editor allowing the user to edit the text.

Inheritance Hierarchy



Syncfusion.Diagram.Windows: 17.4460.0.39

See Also