Skip to main content
All docs
V25.1
  • DiagramToolboxSettings.Visibility Property

    Specifies the toolbox’s visibility.

    Namespace: DevExpress.Web.ASPxDiagram

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

    NuGet Package: DevExpress.Web

    Declaration

    [DefaultValue(DiagramPanelVisibility.Auto)]
    public DiagramPanelVisibility Visibility { get; set; }

    Property Value

    Type Default Description
    DiagramPanelVisibility Auto

    The toolbox visibility.

    Available values:

    Name Description
    Visible

    The panel is initially visible.

    Collapsed

    The panel is collapsed initially.

    Disabled

    The panel is disabled. An element that can invoke the panel is hidden.

    Auto

    The panel is disabled when the diagram is read-only.

    Property Paths

    You can access this nested property as listed below:

    Object Type Path to Visibility
    ASPxDiagram
    .SettingsToolbox .Visibility

    Remarks

        <dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px">
            <SettingsToolbox Visibility="Collapsed" />
        </dx:ASPxDiagram>
    

    Users can show or hide the toolbox via the UI. When the toolbox is disabled, the Show Toolbox command is hidden.

    Diagram Settings

    See Also