Represents a tool palette control that displays DiagramItem objects grouped into categories. Items from the palette can be added to a diagram by drag-and-drop.
The following tables list the members exposed by the Palette type.
Public Constructors| Name | Description | |
|---|---|---|
![]() |
Initializes a new instance of the Palette class. |
Public Properties| Name | Description | |
|---|---|---|
![]() |
Gets or sets a value indicating whether more than one category can be expanded at a time. |
|
![]() |
Gets or sets the maximum distance within which a link dropped from the palette will attempt to auto-connect to a nearby node. |
|
![]() |
Gets or sets a value indicating whether links should be automatically connected to nearby nodes when dropped from the palette. |
|
![]() |
Gets the collection of categories in the palette. |
|
![]() |
Gets or sets the margin space around icons. |
|
![]() |
Gets or sets the size of items displayed in the palette. |
|
![]() |
Gets or sets the default size of items created by drag-and-drop from this palette. |
Public Methods| Name | Description | |
|---|---|---|
![]() |
Adds a new category to the palette. |
|
![]() |
Overloaded. |
Protected Methods| Name | Description | |
|---|---|---|
![]() |
Clean up any resources being used. |
See Also