Skip to main content

DiagramToolboxSettings.ViewMode Property

Specifies how the toolbar is displayed in the control.

Namespace: DevExpress.Web.ASPxDiagram

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

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:

Object Type Path to ViewMode
ASPxDiagram
.SettingsToolbox .ViewMode
See Also