Search
Palette Members
Constructors Properties Methods
 


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

Palette

Initializes a new instance of the Palette class.

 Public Properties

  Name Description

AllowMultipleExpands

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

AutoConnectDistance

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

AutoConnectLinks

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

Categories

Gets the collection of categories in the palette.

IconMargin

Gets or sets the margin space around icons.

IconSize

Gets or sets the size of items displayed in the palette.

NewInstanceSize

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

 Public Methods

  Name Description

AddCategory

Adds a new category to the palette.

AddItem

Overloaded.  

 Protected Methods

  Name Description

Dispose

Clean up any resources being used.

 See Also