From ae0138da826117d2ba6ab7e57fb4d4eccb5568f2 Mon Sep 17 00:00:00 2001 From: Taehyub Kim Date: Tue, 12 Dec 2023 18:48:48 +0900 Subject: [PATCH] [NUI] DragAndDrop : Allow to get mimetype for Enter and Move events --- src/Tizen.NUI/src/public/DragAndDrop/DragAndDrop.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Tizen.NUI/src/public/DragAndDrop/DragAndDrop.cs b/src/Tizen.NUI/src/public/DragAndDrop/DragAndDrop.cs index 52b0c9e..2d3ae18 100755 --- a/src/Tizen.NUI/src/public/DragAndDrop/DragAndDrop.cs +++ b/src/Tizen.NUI/src/public/DragAndDrop/DragAndDrop.cs @@ -194,6 +194,7 @@ namespace Tizen.NUI if (type == DragType.Enter) { ev.DragType = type; + ev.MimeType = Interop.DragAndDrop.GetMimeType(dragEvent); callback(targetView, ev); } else if (type == DragType.Leave) @@ -204,6 +205,7 @@ namespace Tizen.NUI else if (type == DragType.Move) { ev.DragType = type; + ev.MimeType = Interop.DragAndDrop.GetMimeType(dragEvent); callback(targetView, ev); } else if (type == DragType.Drop) -- 2.7.4