Udostępnij za pośrednictwem


DragEvent.ClipData Property

Definition

Returns the android.content.ClipData object sent to the system as part of the call to android.view.View#startDragAndDrop(ClipData,View.DragShadowBuilder,Object,int) startDragAndDrop().

public virtual Android.Content.ClipData? ClipData { [Android.Runtime.Register("getClipData", "()Landroid/content/ClipData;", "GetGetClipDataHandler")] get; }
[<get: Android.Runtime.Register("getClipData", "()Landroid/content/ClipData;", "GetGetClipDataHandler")>]
member this.ClipData : Android.Content.ClipData

Property Value

The ClipData sent to the system by startDragAndDrop().

Attributes

Remarks

Returns the android.content.ClipData object sent to the system as part of the call to android.view.View#startDragAndDrop(ClipData,View.DragShadowBuilder,Object,int) startDragAndDrop(). This method only returns valid data if the event action is #ACTION_DROP.

Java documentation for android.view.DragEvent.getClipData().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to