From: Taehyub Kim Date: Tue, 12 Dec 2023 09:48:48 +0000 (+0900) Subject: [NUI] DragAndDrop : Allow to get mimetype for Enter and Move events X-Git-Tag: accepted/tizen/unified/20231219.160405~1^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae0138da826117d2ba6ab7e57fb4d4eccb5568f2;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] DragAndDrop : Allow to get mimetype for Enter and Move events --- 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)