Skip to main content

DiagramContextToolboxBuilder Members

Provides methods that allow you to configure nested options of the client-side contextToolbox object.

Constructors

Name Description
DiagramContextToolboxBuilder(OptionsOwnerContext) For internal use only. Initializes a new DiagramContextToolboxBuilder class instance.

Methods

Name Description
Category(DiagramShapeCategory) Specifies the category of shapes that are displayed in the context toolbox. Mirrors the client-side category option.
Category(JS) Specifies the category of shapes that are displayed in the context toolbox. Mirrors the client-side category option.
Category(String) Specifies the category of shapes that are displayed in the context toolbox. Mirrors the client-side category option.
DisplayMode(DiagramToolboxDisplayMode) Specifies how shapes are displayed in the context toolbox. Mirrors the client-side displayMode option.
Enabled(JS) Specifies the context toolbox's availability. Mirrors the client-side enabled option.
Enabled(Boolean) Specifies the context toolbox's availability. Mirrors the client-side enabled option.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Option(String, Object) Specifies an option by its name.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ShapeIconsPerRow(JS) Specifies the number of shape icons in a row. Mirrors the client-side shapeIconsPerRow option.
ShapeIconsPerRow(Double) Specifies the number of shape icons in a row. Mirrors the client-side shapeIconsPerRow option.
Shapes(JS) Lists the shapes that are displayed in the context toolbox. The built-in shape types are shown in the Shape Types section. Mirrors the client-side shapes option.
Shapes(IEnumerable<DiagramShapeType>) Lists the shapes that are displayed in the context toolbox. The built-in shape types are shown in the Shape Types section. Mirrors the client-side shapes option.
Shapes(IEnumerable<String>) Lists the shapes that are displayed in the context toolbox. The built-in shape types are shown in the Shape Types section. Mirrors the client-side shapes option.
ToString() Returns a string that represents the current object. Inherited from Object.
Width(JS) Specifies the context toolbox's width in pixels. Mirrors the client-side width option.
Width(Double) Specifies the context toolbox's width in pixels. Mirrors the client-side width option.
See Also