MindFusion.Wpf Pack Programmer's Guide
ShapeListBox Class
Remarks See Also
 





The ShapeListBox control displays a set of shapes defined via the Shape class.

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

 Syntax

C#  Copy Code

public class ShapeListBox : Control

Visual Basic  Copy Code

Public Class ShapeListBox
    Inherits Control

 Remarks

The ShapeListBox control displays a list of Shape icons along with their DisplayName. It lets users drag-and-drop a Shape to the diagram's canvas to create a new ShapeNode. Set the ItemsSource property to an array or collection of shapes that should be rendered inside the control. For example, setting the Shape.Shapes list as ItemsSource will show all pre-defined shapes. You can customize the shape appearance by setting ShapeBrush and ShapeSize properties.

 Inheritance Hierarchy

System.Object
    System.Windows.Threading.DispatcherObject
        System.Windows.DependencyObject
            System.Windows.Media.Visual
                System.Windows.UIElement
                    System.Windows.FrameworkElement
                        System.Windows.Controls.Control
                            MindFusion.Diagramming.Wpf.ShapeListBox

 See Also

ShapeListBox Members
MindFusion.Diagramming.Wpf Namespace
NodeListView Class