Android.Views.View.DispatchDragEvent Method
Detects if this View is enabled and has a drag event listener.

Syntax

[Android.Runtime.Register("dispatchDragEvent", "(Landroid/view/DragEvent;)Z", "GetDispatchDragEvent_Landroid_view_DragEvent_Handler")]
public virtual bool DispatchDragEvent (DragEvent e)

Parameters

e
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Detects if this View is enabled and has a drag event listener. If both are true, then it calls the drag event listener with the Android.Views.DragEvent it received. If the drag event listener returns true, then dispatchDragEvent() returns true.

For all other cases, the method calls the View.OnDragEvent(DragEvent) drag event handler method and returns its result.

This ensures that a drag event is always consumed, even if the View does not have a drag event listener. However, if the View has a listener and the listener returns true, then onDragEvent() is not called.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11