Search
ShapeListBox Methods
 


 Public Methods

  Name Description

AddShape

Adds a new shape to the end of the list box.

AddShapes

Overloaded. Adds the specified shapes to the end of the list box.

ClearShapes

Removes all shapes from the list box.

GetShapeAt

Gets the shape at the specified index in the list box.

InsertShape

Inserts the specified shape at the specified position.

InvalidateShapeAt

Invalidates shape at the specified index causing it to be redrawn.

RemoveShapeAt

Removes the shape at the specified index.

SetShapeAt

Sets a new shape at the specified position.

StartInlineEdit

Enters inplace-edit mode, allowing users to edit the label of the selected shape.

 Protected Methods

  Name Description

OnDrawItem

ListBox.OnDrawItem override.

OnKeyDown

Control.OnKeyDown override.

OnMeasureItem

ListBox.OnMeasureItem override.

OnMouseDown

Control.OnMouseDown override.

OnMouseMove

Control.OnMouseMove override.

OnSelectedIndexChanged

ListBox.OnSelectedIndexChanged override.

OnShapeRemoved

Raises the ShapeRemoved event.

OnShapeRenamed

Raises the ShapeRenamed event.

OnShapeSelected

Raises the ShapeSelected event.

 See Also