Search
Palette Members
Constructors Methods
 


A control that displays a palette of diagram items grouped into categories.

The following tables list the members exposed by the Palette type.

 Public Constructors

  Name Description

Palette

Initializes a new instance of the Palette class.

 Public Methods

  Name Description

addCategory

Overloaded.  

addItem

Overloaded.  

getAllowMultipleExpands

Gets a value indicating whether more than one category can be expanded at a time.

getAutoConnectDistance

Gets the maximum distance within which a link dropped from the palette will attempt to auto-connect to a nearby node.

getAutoConnectLinks

Gets a value indicating whether links should be automatically connected to nearby nodes when dropped from the palette.

getIconMargin

Gets the margin space around icons.

getIconSize

Gets the size of items displayed in the palette.

getModel

Gets the data model for the palette.

getNewInstanceSize

Gets the default size of items created by drag-and-drop from this palette.

setAllowMultipleExpands

Sets a value indicating whether more than one category can be expanded at a time.

setAutoConnectDistance

Sets the maximum distance within which a link dropped from the palette will attempt to auto-connect to a nearby node.

setAutoConnectLinks

Sets a value indicating whether links should be automatically connected to nearby nodes when dropped from the palette.

setIconMargin

Sets the margin space around icons.

setIconSize

Sets the size of items displayed in the palette.

setModel

Sets the data model for the palette.

setNewInstanceSize

Sets the default size of items created by drag-and-drop from this palette.

 See Also