Browse by Tags
All Tags »
DataGrid (RSS)
1. DataGridColumn.SortDirection does not actually sort the column. DataGridColumn.SortDirection is used to queue the visual arrow in the DataGridColumnHeader to point up, down, or to not show. To actually sort the columns other than clicking on the DataGridColumnHeader,
Read More...
Launching a custom dialog for editing on the DataGrid is another somewhat common request that I see from the discussion list . I thought I would provide a sample but at the same time implement it with the MVVM pattern. The requirement that I will use
Read More...
Since the release of the WPF DataGrid there have been several common patterns of questions that developers were asking on the discussion list . I thought that I would capture some of that here so it would be easy to find. I'll also try to keep it as short
Read More...
An updated version of the WPFToolkit has been released today. This includes some high pri bug fixes which are briefly described in the downloads tab. As a reminder, if you have any questions or find any issues please use the Discussion list and the Issue
Read More...
Model-View-ViewModel (MVVM) is one of those really interesting design patterns that are used in WPF. It provides a separation between the UI and business logic and uses data binding techniques to connect them together. Karl Shifflett has some great material
Read More...
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
Read More...
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
Read More...
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
Read More...
The DataGrid walkthrough on windowsclient.net/wpf and the Tips & Tricks section on codeplex talk briefly about the Design-time support for DataGrid. I thought I’d expand on that just a little more so you get a good idea of what you have available.
Read More...
This sample shows how to create a template for the NewItemPlaceholder to indicate that you can add a new item. This is what it will look like: First I will need to create a new template specifically for the NewItemPlaceholder row. I’ve followed the general
Read More...
Now that the Visual State Manager (VSM) is part of the WPFToolKit, I thought I’d show a basic example of how to utilize VSM with the DataGrid. Some prereq’s and resources: · You can download the toolkit here · Info on getting VSM for WPF to work in Blend
Read More...
It looks that this is a frequently requested feature and unfortunately didn't make the v1. It is still possible to extend the DataGrid to do so. A community developer has already posted a sample on creating a footer row for the DataGrid here, http://thibaud60.blogspot.com/2008/10/wpftoolkit-datagrid-with-footer-and.html
Read More...
Intro If you haven't already, you can download the DataGrid v1 bits and source here . DataGridComboBoxColumn has had a make-over since the CTP release. In particular, the whole data binding story has been updated so that you can accomplish basic ComboBox
Read More...
Finally, the v1 WPF DataGrid is out! This is an out-of-band release that will be hosted on the WPF CodePlex site and integrated into the WPF Framework in vNext. You can download the bits as well as the source code here . You also may be pleased to hear
Read More...
Introduction I’m going to talk a little on the editing features of the DataGrid. I will dive deep into a couple things but overall I just want to give you a good idea of the APIs you can work with and how to tweak a couple things. So basically I will
Read More...