Click here to Skip to main content
12,827,765 members (45,923 online)
Click here to Skip to main content
Articles » Languages » C# » Windows Forms » Downloads


87 bookmarked
Posted 29 Jan 2004

Unleash PropertyGrid with Dynamic Properties and Globalization

, 29 Jan 2004 CPOL
The article presents a way to enhance the use of the PropertyGid control with dynamic properties and globalization
<?xml version="1.0"?>
        <member name="M:CustomControls.CollectionEditor.CustomCollectionEditorForm.InitializeComponent">
            Required method for Designer support - do not modify
            the contents of this method with the code editor.
        <member name="M:CustomControls.CollectionEditor.CustomCollectionEditorForm.GetItemType(System.Collections.IList)">
            Gets the data type of each item in the collection.
            <param name="coll"> The collection for which to get the item's type</param>
            <returns>The data type of the collection items.</returns>
        <member name="M:CustomControls.CollectionEditor.CustomCollectionEditorForm.CreateNewItemTypes(System.Collections.IList)">
            Gets the data types that this collection editor can contain
            <param name="coll">The collection for which to return the available types</param>
            <returns>An array of data types that this collection can contain.</returns>
        <member name="M:CustomControls.CollectionEditor.CustomCollectionEditorForm.CreateInstance(System.Type)">
            Creates a new instance of the specified collection item type.
            <param name="itemType">The type of item to create. </param>
            <returns>A new instance of the specified object.</returns>
        <member name="M:CustomControls.CollectionEditor.CustomCollectionEditorForm.DestroyInstance(System.Object)">
            Destroys the specified instance of the object.
            <param name="instance">The object to destroy. </param>
        <member name="M:CustomControls.CollectionEditor.CustomCollectionEditorForm.CreateTItem(System.Object)">
            Creates a new TItem objectfor a collection item.
            <param name="reffObject">The collection item for wich to create an TItem object.</param>
            <returns>A TItem object referencing the collection item received as parameter.</returns>
        <member name="M:CustomControls.CollectionEditor.CustomCollectionEditorForm.SetProperties(CustomControls.CollectionEditor.TItem,System.Object)">
            When implemented by a class, customize a TItem object in respect to it's corresponding collection item.
            <param name="titem">The TItem object to be customized in respect to it's corresponding collection item.</param>
            <param name="reffObject">The collection item for which it customizes the TItem object.</param>
        <member name="M:CustomControls.CollectionEditor.CustomCollectionEditorForm.SetDisplayName(CustomControls.CollectionEditor.TItem)">
            Sets the Name  for a TItem object.
            <param name="ti">The TItem object for which to set the Name.</param>

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.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Daniel Zaharia
Web Developer
Romania Romania
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170326.1 | Last Updated 30 Jan 2004
Article Copyright 2004 by Daniel Zaharia
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid