Skip to main content
All docs
V25.1
  • DiagramContextToolboxSettings.Width Property

    Specifies the context toolbox’s width in pixels.

    Namespace: DevExpress.Web.ASPxDiagram

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

    NuGet Package: DevExpress.Web

    Declaration

    [DefaultValue(typeof(Unit), "152")]
    public Unit Width { get; set; }

    Property Value

    Type Default Description
    Unit "152"

    The width in pixels.

    Property Paths

    You can access this nested property as listed below:

    Object Type Path to Width
    ASPxDiagram

    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