Last active
December 31, 2015 19:49
-
-
Save karno/8035587 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Windows; | |
namespace Karno.Xac.Sample | |
{ | |
public sealed class DropAcceptDescription | |
{ | |
public event Action<DragEventArgs> DragOver; | |
public void OnDragOver(DragEventArgs dragEventArgs) | |
{ | |
var handler = DragOver; | |
if (handler != null) | |
{ | |
handler(dragEventArgs); | |
} | |
} | |
public event Action<DragEventArgs> DragDrop; | |
public void OnDrop(DragEventArgs dragEventArgs) | |
{ | |
var handler = DragDrop; | |
if (handler != null) | |
{ | |
handler(dragEventArgs); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment