Search
ItemListView Class
Remarks See Also
 





A list view control that hosts DiagramItems and supports drag-and-drop to DiagramView.

Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms.Controls

 Syntax

C#  Copy Code

public class ItemListView : UserControl

Visual Basic  Copy Code

Public Class ItemListView
    Inherits UserControl

 Remarks

Items can be added by calling AddItem method, and removed by calling RemoveItem.

Drag-and-drop operations create a copy of the dragged item, and set its size to NewInstanceSize. The copy is created by calling item's Clone method. You can override Clone to copy property values of custom item subclasses.

The AutoConnectLinks and AutoConnectDistance properties control whether links created via drag-and-drop should connect to nearby nodes in the target diagram.

 Inheritance Hierarchy

System.Object
    System.MarshalByRefObject
        System.ComponentModel.Component
            System.Windows.Forms.Control
                System.Windows.Forms.ScrollableControl
                    System.Windows.Forms.ContainerControl
                        System.Windows.Forms.UserControl
                            MindFusion.Diagramming.WinForms.ItemListView

 See Also