All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DiagramContextToolboxSettings.Width Property

Specifies the context toolbox's width in pixels.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v20.2.dll

Declaration

[DefaultValue(typeof(Unit), "152")]
public Unit Width { get; set; }
<DefaultValue(GetType(Unit), "152")>
Public Property Width As Unit

Property Value

Type Default Description
Unit

"152"

The width in pixels.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Width
ASP.NET Controls and MVC Extensions ASPxDiagram
ASP.NET MVC Extensions DiagramSettings
MVCxDiagram

Remarks

<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px">
  <SettingsContextToolbox Category="Flowchart" Width="250" ShapeIconsPerRow="7" />
  ...
</dx:ASPxDiagram>

Diagram - Context Toolbox

The size of a shape in the context toolbox is determined automatically based on the toolbox width and the number of shapes per row. You can use the ToolboxWidthToHeightRatio property to change the aspect ratio of a custom shape in the toolbox.

See Also