Remember the good old Binding Navigator of the glorious WinForms past? (If you don’t, this will refresh your memory)
Last week a client asked or a Binding Navigator control in WPF. Now, this is somewhat out of place in WPF and Silverlight where the data binding mechanism is completely different, but if you are porting an old Windows Forms application and would wish to preserve the general user experience, such a control would be invaluable.
This small control behaves much like the old Binding Navigator, while being fully MVVM-enabled through commands. You bind the control to your collection of items, then access the current item through the CurrentItem property (predictable, huh?). You can easily extend its functionality by binding the AddCommand, DeleteCommand and SaveCommand properties to your own command implementations.
Yasen Yankov currently leads one of the Sitefinity engineering teams. Prior to that, he spent 5 years developing and maintaining Sitefinity applications as part of the Progress web team. He has worked on complex web projects like telerik.com, progress.com, sitefinity.com and nativescript.org
Subscribe to be the first to get our expert-written articles and tutorials for developers!