How to show list of form controls in a property of a component in drop down form RRS feed

  • Question

  • hi guys .

    sorry for my weak Eng. writing .

    I want to design a component that in one of it's properties i'd able to collect list of controls of the windows form that hosts this component in a drop down form .

    for example when i add this component to a windows from which contains a TextBox and a Lable it shows their's name in a list in drop down format that i can select one of them in design mode .

    clear example of my question is the DataSource property of BindingSource that show list of controls belong to form that hosts this instance of binding source .

    by the way i think that this issue i related to design using TypeConverter and UiTypeEditor classes .

    Thanks & Regards
    Saturday, September 20, 2008 4:31 AM