Gets or sets the shapes displayed in the list box.
Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms.Controls
C# Copy Code |
---|
public Shape[] Shapes { get; set; } |
Visual Basic Copy Code |
---|
Public Property Shapes As Shape() |
An array of Shape objects representing the shapes displayed in this list box.
This following example loads a shape library created with the ShapeDesigner tool and assigns the shapes to the ShapeListBox:
C# Copy Code |
---|
ShapeLibrary lib = ShapeLibrary.LoadFrom("shapeLib.shl"); |
Visual Basic Copy Code |
---|
Dim library As ShapeLibrary = ShapeLibrary.LoadFrom("shapeLib.shl") |