Skip to main content
All docs

DiagramToolboxSettings.ShapeIconsPerRow Property

Specifies the number of shape icons in a row.

Namespace: DevExpress.Web.ASPxDiagram

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


public int ShapeIconsPerRow { get; set; }

Property Value

Type Default Description


The number of shape icons.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShapeIconsPerRow
ASP.NET MVC Extensions DiagramSettings
ASP.NET Web Forms Controls ASPxDiagram


<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px">
    <SettingsToolbox ShapeIconsPerRow="6" Width="250" ShowSearch="false">
            <dx:DiagramToolboxGroup Category="General" />
            <dx:DiagramToolboxGroup Category="Containers" />
            <dx:DiagramToolboxGroup Category="Custom" CustomCategoryName="hardware" Title="Hardware" />
        <dx:DiagramCustomShape CategoryName="hardware" Type="internet" ... >

Diagram toolbox

The size of a shape in the 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