WPF - dynamically compile and run event handlers within loose XAML using CodeDom

Last week I wrote a blog post showing how you can write inline code in XAML.  When that blog post was published, @ElegantCode tweeted the post on Twitter.  Rob Relyea soon re-tweeted that post with a link to one of his own posts on exploring new techniques for DLR script in XAML which also links [...]

 
WPF - adding thumbnail buttons to Windows 7 Task Bar

Sometimes when a technology has been out awhile, some features are forgotten about.  With the release of WPF 4 came libraries that allow you, as the developer, to do some pretty cool stuff with the Windows 7 Task Bar, such as create the following features: Thumbnail Buttons Jump Lists Overlay Icons Progress bar icons This [...]

 

A couple of days ago I was spreading the WPF goodness and was talking about how MVVM (Model-View-ViewModel) helps promote separation of concerns by removing the need for the code-behind file from the associated XAML file.  After my statement someone replied with the following question, “So why even have it there, can you just delete [...]

 
WPF–Copy UIElement to Clipboard as Multiple Formats

So about a week ago I wrote a post showing how to Copy a WPF UIElement as an Image to the Clipboard.  In reply to that post Rob Relyea made a comment regarding supporting multiple formats on the Clipboard.  What do I mean by formats?  Well, when copying items to the Clipboard, you an specify [...]

 

This is a question to all the WPF developers out there.  Have you ever wanted to take a snapshot of a UIElement in your WPF application, such as a control or a section of a view, and use to generate a preview or copy it to the clipboard so your user can paste it somewhere [...]

© 2012 Suffusion theme by Sayontan Sinha