Class VisualEditorScreen.SwitchDeviceAction
- Namespace
- Dynamicweb.CoreUI.Screens
- Assembly
- Dynamicweb.CoreUI.dll
Action that switches the visual editor's simulated viewport to the specified device type.
public class VisualEditorScreen.SwitchDeviceAction : ActionBase
- Inheritance
-
VisualEditorScreen.SwitchDeviceAction
- Inherited Members
Constructors
SwitchDeviceAction(DeviceType)
Initialises a new VisualEditorScreen.SwitchDeviceAction that targets the given device.
public SwitchDeviceAction(VisualEditorScreen.DeviceType device)
Parameters
deviceVisualEditorScreen.DeviceTypeThe device type to switch to.