The ShapeListBox control displays a set of shapes defined via the Shape class.
The following tables list the members exposed by the ShapeListBox type.
Name | Description | |
---|---|---|
Initializes a new instance of the ShapeListBox class. |
Name | Description | |
---|---|---|
Gets or sets a value indicating whether users are allowed to remove list box items by pressing DEL. DiagrammingProProductName |
||
Gets or sets a value indicating whether users are allowed to rename the list box items by pressing F2. |
||
Gets or sets the size of the shapes that are created by dragging list box items to the diagram. |
||
ListBox.DrawMode override. |
||
Gets or sets the horizontal and vertical margins left around the shape icons. |
||
Gets or sets the size of the shape icons. |
||
For internal use. |
||
Gets the number of shapes in the list box. |
||
Gets or sets the fill color of the shapes icons. |
||
Gets or sets the ids of shapes that should be displayed in the listbox. |
||
Gets or sets the shapes displayed in the list box. |
Name | Description | |
---|---|---|
Adds a new shape to the end of the list box. |
||
Overloaded. Adds the specified shapes to the end of the list box. |
||
Removes all shapes from the list box. |
||
Gets the shape at the specified index in the list box. |
||
Inserts the specified shape at the specified position. |
||
Invalidates shape at the specified index causing it to be redrawn. |
||
Removes the shape at the specified index. |
||
Sets a new shape at the specified position. |
||
Enters inplace-edit mode, allowing users to edit the label of the selected shape. |
Name | Description | |
---|---|---|
ListBox.OnDrawItem override. |
||
Control.OnKeyDown override. |
||
ListBox.OnMeasureItem override. |
||
Control.OnMouseDown override. |
||
Control.OnMouseMove override. |
||
ListBox.OnSelectedIndexChanged override. |
||
Raises the ShapeRemoved event. |
||
Raises the ShapeRenamed event. |
||
Raises the ShapeSelected event. |
Name | Description | |
---|---|---|
Raised when the user removes a shape from the list box. |
||
Raised when the user renames a shape in the list box. |
||
Raised when the user selects a shape in the list box. |