DiagramLite Programmer's Guide
NodeListView Class
See Also
 





A ListBox control with support for hosting DiagramNode -derived objects and dragging them to the Diagram control. Items' labels can be set by assigning them to the Tag property of nodes.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Controls.Silverlight

 Syntax

C#  Copy Code

public class NodeListView : ListBox

Visual Basic  Copy Code

Public Class NodeListView
    Inherits ListBox

 Example

The following example show how to add two nodes to the list using Xaml and set up their labels.

XAML  Copy Code

<d:NodeListView Grid.Column="2">
  <d:ShapeNode Shape="Rectangle" Tag="Task" />
  <d:ShapeNode Shape="Decision" Tag="Branch" />
</d:NodeListView>

 Inheritance Hierarchy

System.Object
    Windows.UI.Xaml.DependencyObject
        Windows.UI.Xaml.UIElement
            Windows.UI.Xaml.FrameworkElement
                Windows.UI.Xaml.Controls.Control
                    Windows.UI.Xaml.Controls.ItemsControl
                        Windows.UI.Xaml.Controls.Primitives.Selector
                            Windows.UI.Xaml.Controls.ListBox
                                MindFusion.Diagramming.NodeListView

 See Also

NodeListView Members
MindFusion.Diagramming Namespace