New and updated test tools for WPF: TestApi v0.3 and WPF Control Verifier

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 new libraries are really cool, especially the fault injection libraries.  Learn more about it here. WPF Control Verifier v0.1…

0

The Control Local Values Bug Solution and new WPF 4.0 related APIs

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.  Here are the new APIs in dev10: public class DependencyObject…

8

VS 2010 and .NET Framework 4.0 Beta1 are out now!

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 in PresentationFramework.dll ·         New APIs to support the control local values bug ·         And tons of bug…

4

WPF Model-View-ViewModel (MVVM) Toolkit 0.1

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 Views, ViewModels, Models, and Commands.  What I really like about it…

7

WPF TestApi v0.2 has released!

The WPF test team is hard at work to provide value through a simple and componetized library of public test APIs.  The WPF TestApi library has just released a v0.2 which includes new visual verification features, command line parsing features, an auomated application controller, and new unit test samples.  Ivo has a great post about the…

1

5 More Random Gotchas with the WPF DataGrid

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, you can set the DataGrid.Items.SortDescriptions programmatically.  Here is an example of an ICommand used to trigger grouping…

17

Launching a custom Dialog to edit items in a DataGrid (with MVVM)

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 on the sample is that the editing mechanism can only…

19

5 Random Gotchas with the WPF DataGrid

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 as possible and refer to other links for more information. …

8

The Control Local Values Bug!

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, expressions, invalidation, and coercion.  What I will be discussing here is dynamic value resolution and the issue of…

4

WPFToolkit March 2009 Release and new WPF Themes!

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 Tracker.  Enjoy! Also, a new set of WPF Themes has also been released…

1