Raised when the user removes a shape from the list box.
Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms.Controls
C# Copy Code |
---|
public event EventHandler<ShapeEventArgs> ShapeRemoved |
Visual Basic Copy Code |
---|
Public Event ShapeRemoved As EventHandler(Of ShapeEventArgs) |
ShapeRemoved event handlers receive an argument of type ShapeEventArgs. The following ShapeEventArgs members provide information relevant to the event.
Member name | Description |
---|---|
Refers to a Shape instance that represents the removed shape. | |
Indicates the shape position within the Items collection of the list box. |
Users can remove list box items by pressing DEL. To enable this, set the AllowRemove property to true. Removing an item from the list box does not delete the corresponding Shape object from the MindFusion.Diagramming list of shapes.