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.
Name | Description | |
---|---|---|
![]() |
Initializes a new instance of the Palette class. |
Name | Description | |
---|---|---|
![]() |
Gets or sets the number of columns in palette's layout. |
|
![]() |
Gets or sets the size of items displayed in the palette. |
|
![]() |
Gets or sets a value indicating the position of labels relative to item icons. |
|
![]() |
Gets or sets the unit of measure used to specify item sizes. |
|
![]() |
Gets or sets the default size of items created by drag-and-drop from this palette. |
|
![]() |
Gets or sets the padding space between item's slot bounds and its contents. |
|
![]() |
Gets or sets the color used to paint item captions. |
Name | Description | |
---|---|---|
![]() |
Adds a new category to the palette. |
|
![]() |
Adds an item to the palette. |
|
![]() ![]() |
Creates and initializes a new Palette from the specified element. This method is static and can be called without creating an instance of the class. |
|
![]() ![]() |
Returns the specified Palette object. This member is static and can be invoked without creating an instance of the class. |
|
![]() |
Removes a category from the palette. |
|
![]() |
Removes an item from the palette. |