{"action":"created","issue":{"url":"https://api.github.com/repos/ButchersBoy/Dragablz/issues/82","repository_url":"https://api.github.com/repos/ButchersBoy/Dragablz","labels_url":"https://api.github.com/repos/ButchersBoy/Dragablz/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/ButchersBoy/Dragablz/issues/82/comments","events_url":"https://api.github.com/repos/ButchersBoy/Dragablz/issues/82/events","html_url":"https://github.com/ButchersBoy/Dragablz/issues/82","id":131860792,"number":82,"title":"Add drag events to DragablzItemsControl","user":{"login":"mgnslndh","id":1139118,"avatar_url":"https://avatars.githubusercontent.com/u/1139118?v=3","gravatar_id":"","url":"https://api.github.com/users/mgnslndh","html_url":"https://github.com/mgnslndh","followers_url":"https://api.github.com/users/mgnslndh/followers","following_url":"https://api.github.com/users/mgnslndh/following{/other_user}","gists_url":"https://api.github.com/users/mgnslndh/gists{/gist_id}","starred_url":"https://api.github.com/users/mgnslndh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgnslndh/subscriptions","organizations_url":"https://api.github.com/users/mgnslndh/orgs","repos_url":"https://api.github.com/users/mgnslndh/repos","events_url":"https://api.github.com/users/mgnslndh/events{/privacy}","received_events_url":"https://api.github.com/users/mgnslndh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-06T14:30:40Z","updated_at":"2016-02-09T21:51:17Z","closed_at":null,"body":"It would be nice to have drag events on the `DragablzItemsControl` so that you can use \"event-to-command\" binding in MVVM scenarios and let the view model get notified.\r\n\r\nToday I have to use `AddHandler` on the view to add a routed event handler and manually invoke the command on the view. \r\n\r\nIn my specific scenario I use the control to order items by dragging them in the desired order. I am interested in the `DragCompleted` event so that I can commit the order of items to their view models."},"comment":{"url":"https://api.github.com/repos/ButchersBoy/Dragablz/issues/comments/182093281","html_url":"https://github.com/ButchersBoy/Dragablz/issues/82#issuecomment-182093281","issue_url":"https://api.github.com/repos/ButchersBoy/Dragablz/issues/82","id":182093281,"user":{"login":"mgnslndh","id":1139118,"avatar_url":"https://avatars.githubusercontent.com/u/1139118?v=3","gravatar_id":"","url":"https://api.github.com/users/mgnslndh","html_url":"https://github.com/mgnslndh","followers_url":"https://api.github.com/users/mgnslndh/followers","following_url":"https://api.github.com/users/mgnslndh/following{/other_user}","gists_url":"https://api.github.com/users/mgnslndh/gists{/gist_id}","starred_url":"https://api.github.com/users/mgnslndh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgnslndh/subscriptions","organizations_url":"https://api.github.com/users/mgnslndh/orgs","repos_url":"https://api.github.com/users/mgnslndh/repos","events_url":"https://api.github.com/users/mgnslndh/events{/privacy}","received_events_url":"https://api.github.com/users/mgnslndh/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T21:51:17Z","updated_at":"2016-02-09T21:51:17Z","body":"Yes, I am using the `HorizontalPositionMonitor` but It would be nice if it provided notification of the order when the drag is complete in a separate event.\r\n\r\nThe current implementation allows me to indicate when the user is reordering items but I also want to know when the drag is complete which means the order is set and should be updated to some other items.\r\n\r\n![reorder](https://cloud.githubusercontent.com/assets/1139118/12931714/66583e18-cf7f-11e5-8b3e-87fed9405554.gif)\r\n"}}