Share via


DragGestureRecognizer.CanDrag Property

Definition

Gets or sets the value which indicates whether the element the gesture recognizer is attached to can be a drag source.

public:
 property bool CanDrag { bool get(); void set(bool value); };
public bool CanDrag { get; set; }
member this.CanDrag : bool with get, set
Public Property CanDrag As Boolean

Property Value

Remarks

Default value is true.

Applies to