Search
Palette.AddItem Method (DiagramItem, String, String)
See Also
 





Adds a diagram item to the category with the specified title. If the category does not exist, it will be created.

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

 Syntax

C#  Copy Code

public void AddItem (
    DiagramItem item,
    string categoryTitle,
    string caption = null
)

Visual Basic  Copy Code

Public Sub AddItem( _
    item As DiagramItem, _
    categoryTitle As String, _
    Optional caption As String = Nothing _
)

 Parameters

item

The DiagramItem to add.

categoryTitle

The title of the target category.

caption
Optional.

An optional caption to display for the item in the palette.

 See Also