Click here to Skip to main content
12,243,074 members (44,025 online)
Click here to Skip to main content
Articles » Languages » XML » General » Downloads

Stats

35.8K views
842 downloads
16 bookmarked
Posted

Binding any object data members at design time

, 8 Nov 2004
Enables binding of any public data member of any object into a control at design time.
AgConfig
AgConfig.csproj.user
bin
Debug
AgConfig.dll
ConfigTest
App.ico
AppData
AppData.csproj.user
bin
Debug
AppData.dll
AppData.xsx
bin
Debug
AgConfig.dll
AppData.dll
ConfigTest.exe
ConfigTest.csproj.user
using System;

namespace ConfigTest
{
	/// <summary>
	/// Summary description for Class1.
	/// </summary>
	public class AppData
	{
		public string Text = "Hello there";
		public int Number = 7;
    
		public class Section1Class
		{
			public string Text1 = "Hello there 1";
			public int Number1 = 77;
		}

		public Section1Class Section1 = new Section1Class();

		public class Item
		{
			public int ID;
			public string Name;
		}
    
		public Item[] Items = new Item[] {};
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Gabriel Szabo
Software Developer (Senior)
Slovakia Slovakia
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160426.1 | Last Updated 9 Nov 2004
Article Copyright 2004 by Gabriel Szabo
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid