Confessions of a Dangerous Mind

Brain.FlushBuffer()
posts - 176, comments - 234, trackbacks - 93

giugno 2010 Blog Posts

Windows Forms to XAML: How to create a custom template

Many people asked me for a simple tutorial that explain how to create a template for converting a control in Windows Forms to XAML (WF2XAML for friends). Well, it’s a pretty easy task. First, you must download the binaries of WF(2)XAML here. Then, after unpacking it, create a new C# (or VB.net) Library in Visual Studio. In this tutorial we will name it ACME.Templates, but feel free to name it as you wish. We will create a new version of the button template, so WF(2)XAML will use this template when it will convert Windows Forms to WPF Windows (or Pages). Add a reference...

posted @ domenica 20 giugno 2010 22:43 | Feedback (0) |

Powered by:
Powered By Subtext Powered By ASP.NET