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 Fields| Name | Description | |
|---|---|---|
![]() ![]() |
Identifies the AllowMultipleExpands dependency property. |
|
![]() ![]() |
Identifies the AutoConnectDistance dependency property. |
|
![]() ![]() |
Identifies the AutoConnectLinks dependency property. |
|
![]() ![]() |
Identifies the Categories dependency property. |
|
![]() ![]() |
Identifies the ExpanderIconAlignment dependency property. |
|
![]() ![]() |
Identifies the IconSize dependency property. |
|
![]() ![]() |
Identifies the ItemsSource dependency property. |
|
![]() ![]() |
Identifies the LinkSelected routed event. |
|
![]() ![]() |
Identifies the NewInstanceSize dependency property. |
|
![]() ![]() |
Identifies the NodeSelected routed event. |
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 alignment of the expand/collapse icon in the category headers. |
|
![]() |
Gets or sets the size of the icons displayed in the palette's item list. |
|
![]() |
Gets or sets a collection used to generate the content of the Palette. |
|
![]() |
Gets or sets the default size of items created by drag-and-drop from this palette onto a diagram. |
Public Methods| Name | Description | |
|---|---|---|
![]() |
Adds a new category to the palette. |
|
![]() |
Overloaded. Adds a diagram item to the specified category. |
|
![]() |
Removes all categories and items from the palette. |
|
![]() |
Overloaded. Collapses the specified category. |
|
![]() |
Overloaded. Expands the specified category. |
|
![]() |
Overloaded. Removes a category from the palette. |
|
![]() |
Removes a diagram item from the palette. |
|
![]() |
Toggles the expanded/collapsed state of the category with the specified title. |
Public Events| Name | Description | |
|---|---|---|
![]() |
Raised when a link is selected from the palette. |
|
![]() |
Raised when a node is selected from the palette. |
See Also