Skip to main content
A newer version of this page is available. .

DiagramToolboxSettings.ViewMode Property

Specifies how the toolbar is displayed in the control.

Namespace: DevExpress.Web.ASPxDiagram

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

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(DiagramToolboxViewMode.Auto)]
public DiagramToolboxViewMode ViewMode { get; set; }

Property Value

Type Default Description
DiagramToolboxViewMode **Auto**

The toolbox view mode.

Available values:

Name Description
Window

The UI element is displayed as a floating window.

DockPanel

The UI element is docked to a diagram side.

Auto

The UI element is displayed as a floating window on desktop devices. On mobile devices the element is docked to a diagram side.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ViewMode
ASP.NET Controls and MVC Extensions ASPxDiagram
.SettingsToolbox .ViewMode
ASP.NET MVC Extensions DiagramSettings
.SettingsToolbox .ViewMode
MVCxDiagram
.SettingsToolbox .ViewMode
See Also