Click here to Skip to main content
Click here to Skip to main content
Articles » Languages » XML » General » Downloads
 
Add your own
alternative version

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.zip
AgConfig
AgConfig.csproj.user
bin
Debug
AgConfig.dll
configtest.zip
ConfigTest
App.ico
AppData
AppData.csproj.user
bin
Debug
AppData.dll
AppData.xsx
bin
Debug
AgConfig.dll
AppData.dll
ConfigTest.exe
ConfigTest.csproj.user
<?xml version="1.0" encoding="utf-8"?>
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="AppData" nillable="true" type="AppData" />
  <xs:complexType name="AppData">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="1" name="Text" type="xs:string" />
      <xs:element minOccurs="1" maxOccurs="1" name="Number" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="Section1" type="Section1Class" />
      <xs:element minOccurs="0" maxOccurs="1" name="Items" type="ArrayOfItem" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Section1Class">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="1" name="Text1" type="xs:string" />
      <xs:element minOccurs="1" maxOccurs="1" name="Number1" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ArrayOfItem">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Item" nillable="true" type="Item" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Item">
    <xs:sequence>
      <xs:element minOccurs="1" maxOccurs="1" name="ID" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="Name" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
</xs:schema>

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

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