Skip to main content

ASPxDiagram.SettingsContextToolbox Property

Provides access to the context toolbox’s settings.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v22.1.dll

Declaration

public DiagramContextToolboxSettings SettingsContextToolbox { get; }

Property Value

Type Description
DiagramContextToolboxSettings

An object that contains the context toolbox’s settings.

Remarks

The context toolbox appears when you draw a connector from a shape and release it without it being connected to another shape. The toolbox allows users to create a shape at the end of the connector.

Diagram - Context Toolbox

The context toolbox displays the category of the shape from which a user draws a connector, by default. Use the following properties to explicitly specify the shapes that the context toolbox displays.

  • Category - allows you to display every shape of a default shape category.

  • CustomCategoryName - allows you to display every shape of a custom shape category.

  • Shapes - allows you to display a custom collection of default and custom shapes.

<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px">
  <SettingsContextToolbox Category="General"/>
</dx:ASPxDiagram>
See Also