ControlDraggerAddControl Method

Assigns the specified Control as a draggable element.

Definition

Namespace: DevCase.Core.Application.Forms
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public void AddControl(
	Control ctrl,
	bool enabled = false,
	Cursor cursor = null
)

Parameters

ctrl  Control
The Control.
enabled  Boolean  (Optional)
If set to , inmediatelly enables dragging on the Control.
cursor  Cursor  (Optional)
The Cursor to use when dragging the Control.

Exceptions

ArgumentException The specified control is already added.;ctrl

See Also