Represents a supplementary label displayed by a DiagramNode. New labels can be added to a node by calling its AddLabel method.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
SyntaxC#
Copy Code
|
|---|
public class NodeLabel : ItemLabel |
Visual Basic
Copy Code
|
|---|
Public Class NodeLabel |
RemarksThe position of a label is determined by where it is pinned relative to node's bounding box, and offset from the pin point, as set using SetCornerPosition, SetEdgePosition and SetCenterPosition methods. In addition, the TextAlignment and TextVerticalAlignment properties specify whether the label is centered on its pin point or aligned to it.
You can let users arrange labels manually by setting the Behavior property of Diagram to MoveLabels.
Inheritance HierarchySystem.Object![]()
System.Windows.Threading.DispatcherObject![]()
System.Windows.DependencyObject![]()
System.Windows.Media.Visual![]()
System.Windows.UIElement![]()
System.Windows.FrameworkElement![]()
MindFusion.Diagramming.Wpf.TextPresenter
MindFusion.Diagramming.Wpf.ItemLabel
MindFusion.Diagramming.Wpf.NodeLabel
See Also