shashankk wrote:
shashankk wrote:
How we can place avalon controls in windows form application ?
you can download it here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=B789BC8D-4F25-4823-B6AA-C5EDF432D0C1&displaylang=en
with avalon you can place the controls on a form with a language that is called xaml. Looks like xml and it is cool. Try it out!!
Thanks for information .
Can you give me more information about avalon ?
Do you have any sample examples on avalon ?
And how it will helpful for creating web applications in future ?
Regards
Shashank.
Samples, specifically, are here:
http://winfx.msdn.microsoft.com/library/default.asp?url=/library/en-us/wcp_samples/winfx/port_sample_wcp.asp
Don't know why my post was moved here, but anyways, ive been to the links above before and have not found any info-on-adding Avalon controls to a WinForm in a VB application from Visual Basic 2005 Express!!!! I have only been able to find how to start an Avalon-Indigo application and work from there...which is not what I was looking for! I read that Avalon is to replace GDI/GDI+ so was querying whether or not:
LeRoi wrote:
How would one, if possible, use the Avalon API(XAML) with vb express on a winform?
-will
using System.Windows.Forms.Integration;
private ElementHost avHost;
avHost = new ElementHost();
avHost.Dock = DockStyle.Fill;
System.Windows.Controls.TextBox avalonTextBox = new System.Windows.Controls.TextBox();
// Add the Avalon TextBox to the host control
avHost.AddChild(avalonTextBox);
// Add the host control to the form
this.Controls.Add(avHost);
For more information, you should refer to the WinFX SDK documentation. Specifically the section in "Avalon" that is entitled "Migration and Interop".