WPF application without xaml? [Resolved]

Posted by Kulprachi84 under C# on 3/15/2012 | Points: 10 | Views : 3186 | Status : [Member] | Replies : 6
Hi,
Can we have WPF application without xaml file?

Regards,
Prachi.




Responses

Posted by: Sksamantaray on: 3/15/2012 [Member] Silver | Points: 50

Up
0
Down

Posted by: Hmanjarawala on: 3/15/2012 [Member] Bronze | Points: 50

Up
0
Down

Resolved
Hi prachi,

If you want a WPF app without XAML, simply create a WPF Application project and then delete the App.xaml and Window1.xaml files in Solution Explorer. That leaves a project with the requisite WPF assembly references. For an example of coding a WPF app sans XAML, check this page out:

http://www.tbiro.com/Hello-WPF-Without-XAML.htm
http://kentb.blogspot.in/2008/01/xaml.html

Himanshu Manjarawala
Sr. Software Engineer@AutomationAnywhere
http://fieredotnet.wordpress.com/

Kulprachi84, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hmanjarawala on: 3/15/2012 [Member] Bronze | Points: 25

Up
0
Down
Prachi,

refer these links:
http://programming4.us/multimedia/4052.aspx
http://programming4.us/multimedia/4054.aspx

Himanshu Manjarawala
Sr. Software Engineer@AutomationAnywhere
http://fieredotnet.wordpress.com/

Kulprachi84, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Kulprachi84 on: 3/16/2012 [Member] Starter | Points: 25

Up
0
Down
Thanks all for answers..

Kulprachi84, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hmanjarawala on: 3/16/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi prachi,

Mark any reply above as answer if it helps you...................

Himanshu Manjarawala
Sr. Software Engineer@AutomationAnywhere
http://fieredotnet.wordpress.com/

Kulprachi84, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Kulprachi84 on: 3/16/2012 [Member] Starter | Points: 25

Up
0
Down
@Hmanjarawala : marked for the same..
Thanks


Kulprachi84, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response