Search
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, WpfDiagram automatically creates a DiagramItem wrapper object for the UIElement.

 See Also