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"?>
<doc>
    <assembly>
        <name>AgConfig</name>
    </assembly>
    <members>
        <member name="T:AG1206.AgConfig">
            <summary>
            Simple object XML serializing and support for binding object instance members 
            directly to data bound contorls, with automatic reflection of changes made to 
            data bound controls to corresponding instance members.
            </summary>
        </member>
        <member name="M:AG1206.AgConfig.#ctor">
            <summary>
            Initializes a new instance.
            </summary>
        </member>
        <member name="M:AG1206.AgConfig.#ctor(System.Object)">
            <summary>
            Initializes a new instance, and specifies the Data object and DataSet.
            </summary>
            <param name="data">The data object to use</param>
        </member>
        <member name="F:AG1206.AgConfig.XmlExtraTypes">
            <summary>
            A Type array of additional object types to serialize.
            </summary>
        </member>
        <member name="M:AG1206.AgConfig.WriteToXmlFile">
            <summary>
            Serializes Data into XML file.
            </summary>
        </member>
        <member name="M:AG1206.AgConfig.WriteToXmlFile(System.String)">
            <summary>
            Serializes Data into XML file, and specifies file to use.
            </summary>
            <param name="file">File to use</param>
        </member>
        <member name="M:AG1206.AgConfig.ReadFromXmlFile">
            <summary>
            Deserializes Data from XML file.
            </summary>
        </member>
        <member name="M:AG1206.AgConfig.ReadFromXmlFile(System.String)">
            <summary>
            Deserializes Data from XML file, and specifies file to use.
            </summary>
            <param name="file">File to use</param>
        </member>
        <member name="M:AG1206.AgConfig.ReadFromXmlStream(System.IO.Stream)">
            <summary>
            Deserializes Data from stream, and specifies stream to use.
            </summary>
            <param name="s">Stream to use</param>
        </member>
        <member name="M:AG1206.AgConfig.WriteToXmlStream(System.IO.Stream)">
            <summary>
            Serializes Data to stream, and specifies stream to use.
            </summary>
            <param name="s">Stream to use</param>
        </member>
        <member name="M:AG1206.AgConfig.WriteToDataSet">
            <summary>
            Serializes Data into DataSet.
            </summary>
        </member>
        <member name="M:AG1206.AgConfig.WriteToDataSet(System.Data.DataSet)">
            <summary>
            Serializes Data into DataSet, and specifies DataSet to use.
            </summary>
            <param name="ds">DataSet to use</param>
        </member>
        <member name="M:AG1206.AgConfig.ReadFromDataSet(System.Data.DataSet)">
            <summary>
            Deserializes Data from DataSet, and specifies DataSet to use.
            </summary>
            <param name="ds">DataSet to use</param>
        </member>
        <member name="M:AG1206.AgConfig.WriteSchemaToFile">
            <summary>
            Writes XML schema into file.
            </summary>
            <remarks>
            The target file is FileName with an extension ".xsd".
            </remarks>
        </member>
        <member name="M:AG1206.AgConfig.WriteSchemaToFile(System.String)">
            <summary>
            Writes XML schema into file, and specifies file to use.
            </summary>
            <remarks>
            The target file always has an extension ".xsd".
            </remarks>
            <param name="file">File to use</param>
        </member>
        <member name="P:AG1206.AgConfig.FileName">
            <summary>
            Gets or stets the XML file for serialization.
            </summary>
            <remarks>
            By default, this is a file located in the application startup directory with 
            the same name as the Data object and with the extension ".xml".
            </remarks>
        </member>
        <member name="P:AG1206.AgConfig.DataSet">
            <summary>
            Gets or stets a DataSet associated with this instance.
            </summary>
            <remarks>
            DataSet can be used for binding Data members directly to data bound controls.
            When the contents of a data bound control is changed, the change is 
            automatically reflected to the corresponding instance member.
            </remarks>
        </member>
        <member name="P:AG1206.AgConfig.XmlRootName">
            <summary>
            Gets or sets the name of the root XML elemtnt for serialization.
            </summary>
            <remarks>
            By default, this is the same as the nama of Data object.
            </remarks>
        </member>
        <member name="P:AG1206.AgConfig.XmlNamespace">
            <summary>
            Gets or sets the XML namespace for serialization.
            </summary>
            <remarks>
            By default, this is in the form "Application name"."Data object name".
            </remarks>
        </member>
        <member name="P:AG1206.AgConfig.Data">
            <summary>
            Data object
            </summary>
        </member>
        <member name="T:AG1206.AgConfig.DataWrapper">
            <summary>
            Internal wrapper class. Must have public access.
            </summary>
        </member>
        <member name="F:AG1206.AgConfig.DataWrapper.Root">
            <summary>
            Internal wrapper member.
            </summary>
        </member>
    </members>
</doc>

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
Web02 | 2.8.141223.1 | Last Updated 9 Nov 2004
Article Copyright 2004 by Gabriel Szabo
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid