Share

SelectionUIOptions.DragOnSelection Property

Indicates whether elements can be dragged immediately when they are selected.


Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.3.0.0 (25.3.0.0)

Syntax

C#

public bool DragOnSelection { get; set; }

Property Value

Boolean

Remarks

When this setting is false, the user must click once to select an element and then must explicitly click again in order to drag the element. This option helps users avoid accidentally moving elements. When this setting is true, the user can click on an element to select it and drag the element immediately by holding down the mouse.

See Also

Reference

Was this information helpful?