ShapeListBox Class
Remarks See Also

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

Namespace: MindFusion.Diagramming.WebForms
Package: MindFusion.Diagramming.WebForms


C#  Copy Code

public class ShapeListBox : WebControl

Visual Basic  Copy Code

Public Class ShapeListBox
    Inherits WebControl


In order to use this control in ImageMap mode, you must bind a ShapeListBoxExtender to it and also set its ClientSideMode property.

The control creates an icon image for each shape added. The size of an icon displayed in the list box can be defined by the IconSize property, and IconMargin specifies the horizontal and vertical margin of the icon. In ImageMap mode, the images are cached in the folder specified via the ImageLocation property.

If the AllowRename property is set to true, users can press the F2 key and rename a shape in the list box. If the AllowRemove property is enabled, list box items can be deleted by pressing the Del key.

 Inheritance Hierarchy


 See Also