Search
ShapeListBox.ShapeRemoved Event
See Also
 





Raised when the user removes a shape from the list box.

Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms.Controls

 Syntax

C#  Copy Code

public event EventHandler<ShapeEventArgs> ShapeRemoved

Visual Basic  Copy Code

Public Event ShapeRemoved As EventHandler(Of ShapeEventArgs)

 Event Data

ShapeRemoved event handlers receive an argument of type ShapeEventArgs. The following ShapeEventArgs members provide information relevant to the event.

Member name

Description

Shape

Refers to a Shape instance that represents the removed shape.

Index

Indicates the shape position within the Items collection of the list box.

 Remarks

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.

 See Also