CSharpFeeds - All your C# feeds in one place.

Saturday, April 02, 2011

WPF TemplateParts

by Paul Stovell via Paul Stovell on 4/2/2011 2:00:00 PM

I just answered a question on StackOverflow, where my answer involved using named controls in a ControlTemplate. It occurred to me that many WPF developers might not be aware of the feature, even though they've probably used it before. Suppose you're an intern at Microsoft, and you've been told to implement the TextBox feature for WPF. It's complicated: You need to handle selection of text, including commands like Ctrl+A You need to handle copy/paste You need to handle multiple languages and ...

[ read more ]

An old pain point removed from FakeItEasy

by Patrik Hägne via Legend and truth on 4/2/2011 1:37:00 PM

It’s always bittersweet to say that you have introduced a breaking change in an API that people use. Bitter because it will break peoples code. But sweet because IT’S AN AWESOME NEW FEATURE! I was never really fond of the fact that argument constraints relies on implicit casting in FakeItEasy, this is why you had to write A<IFormattable>.Ignored.Argument but you could write the shorter A<string>.Ignored for non interface types. This had to be done in order for the chaining of argumen ...

[ read more ]

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us