Open SlowLogicBoy opened 6 years ago
e.Data.Image != null or at least e.Data.GetData("PNG") != null;
e.Data.Image != null
e.Data.GetData("PNG") != null
Oposite of Expected.
I used RoslynPad for this.
#r "$NuGet\Eto.Forms\2.4.0-build1189\lib\net45\Eto.dll" #r "$NuGet\Eto.Platform.Wpf\2.4.0-build1189\lib\net45\Eto.Wpf.dll" using Eto.Forms; var app = new Application(new Eto.Wpf.Platform()); var form = new Form { Title = "Hello?", AllowDrop = true, }; form.DragDrop += (s, e) => { e.Dump(); foreach (var type in e.Data.Types) { try { e.Data.GetData(type).Dump(type); } catch (Exception ex) { ex.Dump(type); } } }; app.Run(form);
Thanks for the report and helping with testing this! I'll take a look.
Expected Behavior
e.Data.Image != null
or at leaste.Data.GetData("PNG") != null
;Actual Behavior
Oposite of Expected.
Steps to Reproduce the Problem
Code that Demonstrates the Problem
I used RoslynPad for this.
Specifications