ListView Ordering - WPF DRAG DROP TUTORIAL #5 HD
Learn how to reorder list view items in a WPF MVVM application using drag and drop. I also demonstrate a fantastic, simple solution for handling hit test issues for DragLeave events. TIMESTAMPS: 0:00 - Introduction 0:35 - How Reordering Will Work 1:11 - Handling DragOver on List View Items 3:35 - Handling DragOver in the View Model 4:59 - Implementing Insert Logic 7:08 - Passing DragOver Data to the View Model 10:40 - Fixing Hit Testing 13:38 - Adding List View Items on DragOver 14:55 - Conclusion PROPERTY CHANGED SNIPPET: https://singletonsean.s3.amazonaws.com/propchange.snippet SOURCE CODE: https://github.com/SingletonSean/wpf-tutorials/tree/master/DragDropDemo OTHER LINKS: Become a Member: https://www.youtube.com/channel/UC7X9mQ_XtTYWzr9Tf_NYcIg/join Donations: https://www.paypal.com/biz/fund?id=UBZCZWX2UVWJE
Похожие видео
Показать еще