Browse by Tags
TestApi v0.3 The WPF test team has recently released a new version of TestApi! This version includes libraries for fault injection, combinatorial varitation generation, new application control APIs, and updated tests and documentation. I think all the
Read More...
Intro Previously I did a post on the “Control Local Values bug” and how a subtle bug can be introduced when setting dependency properties of controls to local values. In WPF 4.0 (dev10), a mechanism was added to the property engine to solve this problem.
Read More...
As many of you probably already know, dev10 beta1 is available for public download. Some of the additions to Beta1 on the WPF Controls side include: · MultiTouch · EasingFunctions for animations · DataGrid, Calendar, DatePicker, and VisualStateManager
Read More...
The WPF team has just released an MVVM Toolkit which contains an overview and walkthrough of the MVVM pattern, a full Messenger sample app using MVVM, as well as a Visual Studio template for MVVM. The template creates a WPF application with folders for
Read More...
The WPF test team is hard at work to provide value through a simple and componetized library of public test APIs. The WPF TestAp i library has just released a v0.2 which includes new visual verification features, command line parsing features, an auomated
Read More...
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...
Intro WPF dependency properties are properties that are registered through the WPF property system. By registering with the property system, the property will be provided a set of services such as data binding, styling, change notifications, animation,
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...