WPF DataGrid Sample: Locking input to the row being edited

Scenario By default the WPF DataGrid will commit a row when focus is lost on the row, the ‘Enter’ key is pressed, tabbing to the next row, or programmatically calling commit on the row.  Let’s say I want to control how the user commits a row edit by locking input to just that row being…

5

WPF DataGrid – Dynamically updating DataGridComboBoxColumn

The Scenario I want to do a master detail like scenario where the selection in one ComboBox cell will update the list of items in the next ComboBox cell and so on.   Setting up the DataSource and ViewModel I will use the Northwind database for this example and will use the first column to…

11

WPF TestApi and DataGrid Sample

Our WPF Test team has just released a library of tools that can be leveraged to test WPF applications.  What’s really cool is that these are utilities that we use internally and now we can push them out to external customers for feedback and usage.  The library currently lives here on codeplex, http://www.codeplex.com/TestApi.  There are…

1