System.Windows.Forms.XplatUIX11.StartDrag C# (CSharp) Method

StartDrag() private method

private StartDrag ( IntPtr handle, object data, DragDropEffects allowed_effects ) : DragDropEffects
handle IntPtr
data object
allowed_effects DragDropEffects
return DragDropEffects
		internal override DragDropEffects StartDrag (IntPtr handle, object data,
				DragDropEffects allowed_effects)
		{
			Hwnd hwnd = Hwnd.ObjectFromHandle (handle);

			if (hwnd == null)
				throw new ArgumentException ("Attempt to begin drag from invalid window handle (" + handle.ToInt32 () + ").");

			return Dnd.StartDrag (hwnd.client_window, data, allowed_effects);
		}
XplatUIX11