MindFusion.Wpf Pack Programmer's Guide
DiagramItemCollection.Add Method
See Also
 





Adds the specified diagram item to the collection.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public void Add (
    UIElement item
)

Visual Basic  Copy Code

Public Sub Add( _
    item As UIElement _
)

 Parameters

item
The DiagramItem object to add to the collection.

 Remarks

You can add an arbitrary UIElement object to the diagram, In such a case, Diagramming for WPF automatically creates a DiagramItem wrapper object for the UIElement.

 See Also

DiagramItemCollection Members
DiagramItemCollection Class
MindFusion.Diagramming.Wpf Namespace