August 2008 - Posts
Here is a short sample on how to create a tri-state sorting experience with the WPF DataGrid . In the current design, when clicking on a column header it will toggle sorting of the column starting from ascending to descending. Unfortunately you cannot
Read More...
UPDATE: DataGridComboBoxColumn has been updated from CTP to V1. See the post here for the updates to the DataGridComboBoxColumn as well as an updated sample. Previously I started a post on DataGridComboBoxColumns where I introduced the APIs specific to
Read More...
Jossef just wrote this great post on improving sorting in the DataGrid through a custom sort. Check it out here . Ben Carter also added another sample that includes row drag-and-drop and column selection through cell selection. You can download that sample
Read More...
UPDATE: DataGridComboBoxColumn has been updated from CTP to V1. See the post here for the updates to the DataGridComboBoxColumn as well as an updated sample. If you haven’t already, you can download the binaries and source for the DataGrid v1 here . DataGridComboBoxColumn
Read More...
A customer was asking for a sample of a preview ToolTip on scrolling for the DataGrid and Ben Carter, one of our awesome Devs, wrote a sample here for any general ItemsControl. If you haven’t already, you can download the binaries and source for the DataGrid
Read More...
Recap In a previous post I introduced the BindingGroups. Well now I want to get into some of the things you may run into when trying to use IEditableCollectionView with BindingGroup. BindingGroups and IEditableCollectionView So now with the BindingGroup
Read More...
Overview The DataGrid uses a set of DataGridColumns to describe how to display its data just like a GridView has a set of GridViewColumns to describe its data. In my first post , the sample I used auto-generated the columns for you but this time I want
Read More...
Jamie Rodriguez has this really nice series on getting started with the WPF DataGrid . Part1 is a brief introduction and overview of the features, Part2 digs a bit deeper into the features, and Part3 goes over styling in the DataGrid. Be sure to check
Read More...
I’m going to be dissecting and discussing the DataGrid visuals and how they are all assembled together to form the overall DataGrid. Note: This is really more of a post for people who want to understand how the DataGrid works internally. I’m not going
Read More...
Motivation Before 3.5 SP1, the binding validation system worked with only one binding at a time. What made this difficult in some scenarios was when validation was required on a set of bound objects. Some typical examples that come to mind are a form
Read More...
UPDATE: the WPF DataGrid v1 has just released. For more information, see this post . The information below still applies, but the new post contains the additional features as well as an updated sample. Check it out! As you might have heard, .NET Framework
Read More...