API Referenceglobal
public class Editor.Widget.DragEvent
Information about a widget drag and drop event.
Constructors
Showing 1 constructors
public DragEvent()
No results match this filter.
Properties
Showing 7 properties
public Editor.DropAction Editor.Widget.DragEvent.Action { get; set; }
Set this to what action will be (or was) performed.
public bool Editor.Widget.DragEvent.HasAlt { get; set; }
Whether `Alt` key was being held down at the time of the event.
public bool Editor.Widget.DragEvent.HasCtrl { get; set; }
Whether `Control` key was being held down at the time of the event.
public bool Editor.Widget.DragEvent.HasShift { get; set; }
Whether `Shift` key was being held down at the time of the event.
public Sandbox.KeyboardModifiers Editor.Widget.DragEvent.KeyboardModifiers { get; set; }
The keyboard modifier keys that were held down at the moment the event triggered.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Tools |
| Doc ID | T:Editor.Widget.DragEvent |