A sample for the holidays

For my last task of the year, I answered a question about binding a ComboBox to a collection of StrokeCollections that has a custom property to indicate the name of the StrokeCollection.  This was a fun little project so I decided to post it here to share.  My solution was to inherit from StrokeCollection and…

1

Button animation match game

Hello, I’m John, a new programmer-writer on the WPF documentation team. For my first WPF application, I wanted to create something that took advantage of unique WPF features. I’ve attached the source code of my app to this post. Here’s a screenshot: My application presents a text matching game over a graphic. It animates properties…

1

WPF documentation and default filters in Visual Studio

Heads up! If you go searching for Windows Presentation Foundation documentation in Visual Studio 2008 by choosing Contents off the Help menu, you might not find what you’re looking for. Yes, WPF is documented in the hierarchy when you drill into .NET Development, .NET Framework SDK, and .NET Framework. But you may need to set…

0

Download the .NET Framework 3.5 and Visual Studio 2008 (and a cautionary remark)

As of today, you can download the release version of .NET Framework 3.5 and Visual Studio 2008.  Here are some of links to get you started:   What’s New in the .NET Framework Version 3.5 What’s New in Windows Presentation Foundation 3.5 As you browse through the documentation (and I know you all do, right?)…

2

Building Visual Add-Ins with WPF – New in .NET 3.5!

You’re unlikely to be reading this if you haven’t used the .NET Framework to build managed applications. As such, you’ll know how extensive the .NET Framework is in the range of support it provides for application developers.   One feature that is notable by its absence has been direct support for building applications that can…

1

Important News for .NET Framework 3.5 Beta 2 Developers Building Visual Add-Ins with WPF

If you are using .NET Framework 3.5 Beta 2 to create WPF applications that support visual add-ins, you should be aware that, in the forthcoming .NET Framework 3.5 RTM, the naming of both the System.AddIn.Pipeline.VisualAdapters class and its members have changed from this [1] to this [2]. Consequently, you’ll need to change your code to use…

2

WPF MSDN Magazine End Bracket

An interesting perspective on XAML: http://msdn.microsoft.com/msdnmag/issues/07/11/EndBracket/default.aspx.

0

Design Tools for Windows Presentation Foundation

Most of the content in this SDK documentation is focused on creating WPF applications “by hand,” meaning typing the XAML markup and code that comprises the application UI and functionality. However, especially in the case of creating visual presentation and behavior (UI, graphics, animation, and so on), it is often faster and easier to use…

1

Data Validation in 3.5

A cool new feature in the Data area in 3.5 is the support for IDataErrorInfo. Let’s take a look at the data validation model in 3.5 by starting with a memory refresher of that in 3.0. We end with a section that discusses how to choose between the different approaches. 3.0 Validation Model In 3.0,…

16

Improving the performance of the ComboBox

This has been discussed in some of the forums and other blogs, but I figured it was worth repeating.  If you’ve ever tried to add thousands of items to a ComboBox, you probably noticed that when you run the program and click the button to open the ComboxBox’s dropdown, it takes several seconds for the…

2