Skip to main content

DiagramToolboxSettings.Visibility Property

Specifies the toolbox’s visibility.

Namespace: DevExpress.Web.ASPxDiagram

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

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:

Library Object Type Path to Visibility
ASP.NET MVC Extensions DiagramSettings
.SettingsToolbox.Visibility
MVCxDiagram
.SettingsToolbox.Visibility
ASP.NET Web Forms Controls 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