NetDiagram Programmer's Guide
DiagramLink.Text Property
See Also

Gets or sets the text displayed over a link.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming


C#  Copy Code

public string Text { get; set; }

Visual Basic  Copy Code

Public Property Text As String

 Property Value

A string containing the text. Initialized with the value of LinkText.


Gets or sets the text that should be drawn over a link. Use this to provide to end-users a short description of the relation's purpose. The text appearance can be customized through the TextBrush and TextStyle properties.

Version 6 of the control adds the capability to display multiple labels per link via the LinkLabel class. Labels can automatically avoid overlapping nodes or other labels when their AutoArrange property is set.

 See Also

DiagramLink Members
DiagramLink Class
MindFusion.Diagramming Namespace
ToolTip Property
AddLabel Method