Search
NodeListView Members
Constructors Properties Methods Events
 


Represents a list view containing DiagramNode objects.

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

 Public Constructors

  Name Description

NodeListView

Initializes a new instance of the NodeListView class.

 Public Properties

  Name Description

DefaultNodeSize

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

IconMargin

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

IconSize

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

IsDragging

For internal use.

MeasureUnit

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

NodesCount

Gets the number of nodes in the list view.

Target

The target DiagramView for drag/drop interactions.

 Public Methods

  Name Description

AddNode

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

AddNodes

Overloaded. Adds the specified nodes to the end of the list view.

ClearNodes

Removes all nodes from the list view.

GetItemAt

For internal use.

GetNodeAt

Gets the node at the specified position.

GetScreenCoords

Gets the position of a VisualElement.

InsertNode

Overloaded.  

OnDragComplete

Raises the DragComplete event.

RefreshItemsSource

Force refresh the items source binding.

RemoveNode

Removes the node from the list box.

RemoveNodeAt

Removes the node at the specified position.

ResumeLayout

Resume the backing items source binding refresh.

SuspendLayout

Suspend the backing items source binding refresh.

 Protected Methods

  Name Description

MeasureOverride

ListView.MeasureOverride override.

OnNodeClicked

Invoked when the user clicks a node in this list box.

OnNodeDoubleClicked

Invoked when the user double-clicks a node in this list box.

OnNodeRemoved

Invoked when the user removes a node from the list view.

OnNodeSelected

Invoked when the user selects a node in this list box.

 Public Events

  Name Description

DragComplete

Raised when user stops dragging an item.

DragStarting

Raised when user starts dragging an item.

NodeClicked

Raised when the user clicks a node in the list view.

NodeDoubleClicked

Raised when the user double-clicks a node in the list view.

NodeRemoved

Raised when the user removes a node from the list view.

NodeSelected

Raised when the user selects a node in the list view.

 See Also