Edit this page

Text Tool

The TextTool allows you to enter the edit mode of a RadDiagramItem as soon as you click on it. Furthermore, you can use this tool to draw text shapes. As it isn't active by default, you can use the RadDiagram.ActiveTool property to activate it:

Active Tool


this.radDiagram1.ActiveTool = Telerik.Windows.Diagrams.Core.MouseTool.TextTool;

Me.RadDiagram1.ActiveTool = Telerik.Windows.Diagrams.Core.MouseTool.TextTool

Let's consider we already have a shape in RadDiagram. As soon as you click on the shape, you will enter its edit mode. This way you can easily modify its content.

Fig.1 Edit shape

diagram-tools-text-tool 001

And what is more, as soon as you activate the TextTool, you can dynamically create a text shape by dragging a rectangle on the diagramming surface:

Fig.2 Create shape

diagram-tools-text-tool 002

Was this article helpful? Yes No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy