.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
526 B

using System.Windows;
namespace ICSharpCode.TreeView.PlatformAbstractions.WpfWindows
{
public class WpfWindowsDragEventArgs : IPlatformDragEventArgs
{
private readonly DragEventArgs _eventArgs;
public WpfWindowsDragEventArgs(DragEventArgs eventArgs)
{
_eventArgs = eventArgs;
}
public XPlatDragDropEffects Effects { get => (XPlatDragDropEffects)_eventArgs.Effects; set => _eventArgs.Effects = (DragDropEffects)value; }
public IPlatformDataObject Data => new WpfWindowsDataObject(_eventArgs.Data);
}
}