[NUI] DragAndDrop : Allow to get mimetype for Enter and Move events
authorTaehyub Kim <taehyub.kim@samsung.com>
Tue, 12 Dec 2023 09:48:48 +0000 (18:48 +0900)
committerEunki Hong <h.pichulia@gmail.com>
Mon, 18 Dec 2023 10:39:53 +0000 (19:39 +0900)
src/Tizen.NUI/src/public/DragAndDrop/DragAndDrop.cs

index 52b0c9e..2d3ae18 100755 (executable)
@@ -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)