Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows Forms and XML

Status
Not open for further replies.

mg712

Programmer
Aug 5, 2003
8
US
I would like to use XML to describe what type of controls my window forms will contain and also how those controls should be layed out. Does someone know where I can find information about how to go about implementing that?

I've been looking into XForms but I'm not sure if I can apply it to windows forms. Thanks for any help.
 
1. You can code a method which takes a parameter the base form of your forms and iterate through the Controls collection and retrieve information about each control sending it to a XML file where the control name is the tag and type, size, layout etc are attributtes.
2. Wait for the XAML and MSBuild and you will see in a XAML file the things about you are asking.
-obislavu-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top