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 | |
---|---|---|
![]() |
Overloaded. |
Name | Description | |
---|---|---|
![]() |
Gets or sets a value indicating whether the control should render references to the client scripts. |
|
![]() |
Gets the registered client types with JSON templates. |
|
![]() |
Gets or sets the maximum distance to a node when auto connecting links. |
|
![]() |
Gets or sets whether links should be automatically connected to the nearest node. |
|
![]() |
Gets or sets the background color of the Palette control. |
|
![]() |
Gets or sets the font of the items captions. |
|
![]() |
Gets or sets the URL to the MindFusion.Diagramming.js file. |
|
![]() |
Gets or sets the number of columns in palette's layout. |
|
![]() |
Gets or sets a value indicating whether handling of mouse events is enabled. |
|
![]() |
Gets or sets the size of items displayed in the palette. |
|
![]() |
Gets or sets the id of the control. |
|
![]() |
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 a threshold value that hides text if scaled font sizes become smaller. |
|
![]() |
Gets or sets the default size of items created by drag-and-drop from this palette. |
|
![]() |
Gets or sets the layout orientation of the control. |
|
![]() |
Gets or sets the padding space between item's slot bounds and its contents. |
|
![]() |
The location of a shape library file containing custom shape definitions. It can be set to a full URL of the file, or a relative file path. |
|
![]() |
Gets or sets the color of the items captions. |
|
![]() |
Gets or sets the theme used to style the control. |
Name | Description | |
---|---|---|
![]() |
Overloaded. |
|
![]() |
Adds a DiagramItem to the displayed items collection. |
|
![]() |
Sets the name of a JavaScript function that should be invoked when the control is loaded on the client side. |
|
![]() ![]() |
Overloaded. |
|
![]() ![]() |
Initializes a new instance of the Palette class. |
|
![]() |
Renders the Palette's initializing scripts on a web page under the specified function name. |
|
![]() |
Sets the name of a JavaScript function that should be invoked when a link is selected, either programmatically or by the user. |
|
![]() |
Loads the specified JSON data. |
|
![]() |
Sets the name of a JavaScript function that should be invoked when a node is selected, either programmatically or by the user. |
|
![]() |
Overloaded. |
|
![]() |
Registers the session instance with the ItemTypeResolver used in custom item serialization. |
|
![]() |
Removes a category from the palette. |
|
![]() |
Removes a DiagramItem from the displayed items collection. |
|
![]() |
Renders the Palette on a web page. |
|
![]() |
Serializes the Palette's data to JSON. |
|
![]() |
Sets a value indicating whether the control should render references to the client scripts. |
|
![]() |
Sets the maximum distance to a node when auto connecting links. |
|
![]() |
Sets whether links should be automatically connected to the nearest node. |
|
![]() |
Sets the background color of the Palette control. |
|
![]() |
Sets the font of the items captions. |
|
![]() |
Sets the number of columns in control's layout. |
|
![]() |
Sets a value indicating whether handling of mouse events is enabled. |
|
![]() |
Sets the size of the items displayed in the view. |
|
![]() |
Sets a value indicating the position of labels relative to item icons. |
|
![]() |
Sets a threshold value that hides text if scaled font sizes become smaller. |
|
![]() |
Sets the default size with which items dragged onto a diagram will be created. |
|
![]() |
Sets the layout orientation of the control. |
|
![]() |
Sets the text color of the items captions. |
|
![]() |
Sets the theme used to style the control. |
|
![]() |
Sets the name of a JavaScript function that should be invoked when a shape library is loaded. |
|
![]() ![]() |
Serializes the Palette's data to JSON. |