Search
ItemListView Members
Constructors Properties Methods Events
 


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

The following tables list the members exposed by the ItemListView type.

 Public Constructors

  Name Description

ItemListView

Initializes a new instance of the ItemListView class.

 Public Properties

  Name Description

AllowRemove

Gets or sets a value indicating whether deletion of items by pressing Del is allowed.

AutoConnectDistance

Gets or sets the maximum distance within which a link will attempt to auto-connect to a nearby node.

AutoConnectLinks

Gets or sets a value indicating whether links should be automatically connected to nearby nodes when dropped from the ItemListView.

IconMargin

Gets or sets the horizontal and vertical margins around the items.

IconSize

Gets or sets the size of the items displayed in the view.

ItemsCount

Gets the number of items in the list view.

MeasureUnit

Gets or sets the unit of measure used when drawing items.

NewInstanceSize

Gets or sets the default size with which items dragged onto a diagram will be created.

 Public Methods

  Name Description

AddItem

Overloaded. Adds a new item to the end of the list view.

AddItems

Overloaded.  

ClearItems

Removes all items from the list view.

GetItemAt

Gets the item at the specified position.

GetPreferredSize

Control.GetPreferredSize override.

InsertItem

Overloaded.  

RemoveItem

Removes the specified item from the list view.

RemoveItemAt

Removes the item at the specified position.

 Protected Methods

  Name Description

Dispose

Clean up any resources being used.

OnItemRemoved

Invoked when the user removes an item from the list view.

OnItemSelected

Invoked when the user selects an item in this list box.

 Public Events

  Name Description

ItemRemoved

Raised when the user removes an item from the list view.

ItemSelected

Raised when the user selects an item in the list view.

 See Also