Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <i:Interaction.Behaviors>
- <beh:EventToCommandBehavior Command="{Binding DropCommand}" Event="Drop" PassArguments="True" />
- </i:Interaction.Behaviors>
- public ActionCommand<DragEventArgs> DropCommand { get; private set; }
- this.DropCommand = new ActionCommand<DragEventArgs>(OnDrop);
- private void OnDrop(DragEventArgs e)
- {
- // ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement