UIElement.CanDrag Property

Definition

Gets or sets a value that indicates whether the element can be dragged as data in a drag-and-drop operation.

C#
public bool CanDrag { get; set; }

Property Value

Boolean

true if the element can be dragged as data in a drag-and-drop operation; otherwise, false. The default is false.

Remarks

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also