Welcome to MSDN Blogs Sign in | Join | Help

December 2007 - Posts

Use WPF and inline XAML in your Fox, Excel or VB6 applications

My prior post showed how to create XAML WPF and put it on your Winform App. We can go one step further: add XAML to a UserControl, which could then be made into an ActiveX control, which could be hosted by Fox, VB6, or Excel. Start Visual Studio 2008
Posted by Calvin_Hsia | 2 Comments
Filed under: , , ,

Use ElementHost to Add WPF to your Wndows Forms or put your WinForm controls in your WPF app using WindowsFormsHost

Many of you already have a Window Forms application. You can add WPF to your existing application quite easily using the ElementHost class , which can be added as a control to your form. (You can also go the other way: host a Windows Forms control in
Posted by Calvin_Hsia | 4 Comments
Filed under: , ,

How to Create dynamic XAML to display arbitrary XML

Here's a sample of creating dynamic XAML to display arbitrary XML You can use the XML DataProvider to supply XML data to XAML, a web service, or you can use a Query. Each way, you can generate XAML dynamically to display the XML. (echoes of XSLT) I took
Posted by Calvin_Hsia | 4 Comments
Filed under: , ,
 
Page view tracker