Tag Archives: WPF

WPF DataGrid moves input focus and selection to the wrong cell when pressing tab

You’d expect that when you hit tab in the last cell the WPF data grid it would create a new row and put your focus in the first cell of that row.  It doesn’t, depending on how you have KeboardNavigation.TabNavigation … Continue reading

Posted in Uncategorized | Tagged | 5 Comments

How to create a new instance of the view for a tab item in the WPF TabControl

By default the WPF TabControl will not create a new instance of the content control inside the ContentTemplate for each Item (Tab).  All it does is just change the DataContext.  This is fine if all your state is on your … Continue reading

Posted in Uncategorized | Tagged | Leave a comment