Resharper-style Error Template for WPF

The built-in error template in WPF is quite basic: a red rectangle around the control that is in error, and I invariably replace it with something a little fancier. I’m not sure who originated this style of error/validation template, but I know it best from the Visual Studio add-in Resharper.


Using an error icon such as this one from and a fairly simple error template we can create a similar effect of our own that works for multiple control types, and comes complete with a data-bound tool-tip to display the appropriate error message.

error_template Like all my recent WPF samples the source-code for this is included in the learnwpf samples project hosted on bitbucket.

Pingback from

Dew Drop–August 23, 2011 | Alvin Ashcraft's Morning Dew

23/08/2011 12:55:20 PM
Vente en ligne chaussures filles et gar�on
Perfect article.Congratulations dude. Right in my bookmarks
26/08/2011 2:48:07 PM
That’s really useful. Thansk to share!
29/08/2011 7:12:53 AM
Wholesale Jerseys
Usually NFL fans have a practice of wearing [url=]Wholesale NFL Jerseys[/url] in their daily time,this is considered to support and cheer their favorite team or players.All of our [url=]Wholesale Jerseys[/url] are made with high quality fabric,which making many changes in their graphics and designs so as to attract numerous sports fanatics to buy them.A NBA lover who want to express his loyalty on the favorite team would absolutely order some good but [url=]Cheap NBA Jerseys[/url]. You can easily find a wide range of high quality and excellent perfermance [url=]Cheap NHL Jerseys[/url],[url=]Cheap MLB Jerseys[/url] and Wholesale Soccer Jerseys online stores, world-onlineshopping is a good choice for you to go,you can see [url=]Cheap NHL Jerseys on sale[/url]! 2011 latest [url=]Christian Louboutin Boots[/url] and [url=]Christian Louboutin Shoes[/url]. <br />

Besides sport jerseys,we also supply [url=]Nike Air Max[/url] sport shoes,this is popular in the world.2011 new fashionable [url=]Women Boots[/url],Wholesale [url=]Ray-Ban Sunglasses[/url],sporting [url=]NFL Caps[/url] are on promotion now,2011 [url=]Coach Handbags[/url]are in new design.

29/08/2011 1:14:54 PM
Microsoft Weblogs
Windows Client Developer Roundup 080 for 8/29/2011

The Windows Client Developer Roundup aggregates information of interest to Windows Client Developers

29/08/2011 8:22:55 PM
Pingback from

How To Fix Max Xaml Error in Windows

21/01/2015 10:03:12 PM