The ShapeToolBar control displays image buttons representing selected shapes defined via the Shape class. These buttons can be used to create new shape nodes that have a specific shape or to change the shape of existing nodes.
The following tables list the members exposed by the ShapeToolBar type.
Name | Description | |
---|---|---|
![]() |
Initializes a new instance of the ShapeToolBar class. |
Name | Description | |
---|---|---|
![]() |
Gets or sets a value indicating whether dragging shapes from the toolbar to a DiagramView is enabled. |
|
![]() |
Gets or sets the size of the icon images displayed inside toolbar buttons. |
|
![]() |
Gets a list of all buttons in the toolbar. |
|
![]() |
Gets or sets the size of nodes created by dragging shapes from the toolbar to the diagram canvas. |
|
![]() |
Gets the Shape currently selected in the toolbar. |
|
![]() |
Gets or sets the color of toolbar button icons. |
|
![]() |
Gets or sets the identifiers of all shapes available in the toolbar. |
|
![]() |
Gets or sets a value indicating whether to display shape icons in the toolbar buttons. |
|
![]() |
Gets or sets a value indicating whether to show the DisplayName of the shapes as toolbar button titles. |
Name | Description | |
---|---|---|
![]() |
Recreates the toolbar button images. |
Name | Description | |
---|---|---|
![]() |
Control.OnMouseDown override. |
|
![]() |
Control.OnMouseMove override. |
Name | Description | |
---|---|---|
![]() |
Raised to perform custom drawing on a toolbar's shape image. |
|
![]() |
Raised when the user clicks a shape button. |