Search
ShapeListBox Members
Constructors Properties Methods
 


Displays a set of shapes defined by the Shape class, and allows creating ShapeNode objects by drag-and-drop.

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

 Public Constructors

  Name Description

ShapeListBox

Initializes a new instance of the ShapeListBox class.

 Public Properties

  Name Description

AllowRemove

Allows deletion of listbox items by pressing Del. Only listbox items are deleted, while the shape definitions remain intact.

AllowRename

Allow inline renaming of listbox items by pressing F2. Currently the listbox displays the shape identifiers as names.

ClientSideMode

Specifies the method used for handling user interaction and drawing on the client side.

ControlLoadedScript

Specifies the name of a JavaScript function that should be invoked when the control is loaded on the client side.

DefaultShapeSize

Gets or sets the size of the shapes that are created by dragging list box items to the diagram.

IconMargin

Gets or sets the horizontal and vertical margins left around the shape icons.

IconSize

Gets or sets the size of the shape icons.

ImageFormat

Gets or sets the format of the generated images. It must be specified as a MIME type string.

ImageLocation

Gets/sets the name of the cached images folder in ImageMap mode.

ImageQuality

Gets or sets the quality of compressed images. Accepted values are between 1 and 100. A greater value yields an image of higher quality, but with lower compression.

JsLibraryLocation

Gets or sets the URL to the MindFusion.Diagramming.js file, used in Canvas ClientSideMode.

ShapeFillColor

Gets or sets the fill color of the shapes icons.

ShapeFilter

Gets a list containing the identifiers of shapes that should be displayed in the list box.

ShapeLibraryLocation

Gets or sets the location of a shape library file containing custom shape definitions.

ShapeRemovedScript

Specifies the name of a JavaScript function that should be invoked when the user removes a Shape from the ShapeListBox.

ShapeRenamedScript

Specifies the name of a JavaScript function that should be invoked when the user renames a Shape in the ShapeListBox.

ShapeSelectedScript

Specifies the name of a JavaScript function that should be invoked when the user selects a Shape in the ShapeListBox.

ShowLabels

Show text labels along with icons in list items

 Public Methods

  Name Description

RenderBeginTag

WebControl.RenderBeginTag override.

 Protected Methods

  Name Description

LoadViewState

WebControl.LoadViewState override.

OnPreRender

WebControl.OnPreRender override.

Render

WebControl.Render override.

RenderContents

WebControl.RenderContents override.

SaveViewState

WebControl.SaveViewState override.

TrackViewState

WebControl.TrackViewState override.

 See Also