Results 1 to 2 of 2

Thread: UserControl property question

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2003
    Posts
    5

    UserControl property question

    I have an usercontrol with a collection of items, i can use the Forms Editor for Adding/Remove and Editing the items in the collection at design time (thanks at this forum for this).

    Now i want to have a property ID wich is one of this items, and select it at design time.

    I'm explain again:

    I have a collection of items (each item has Name and SurName as property, for example) in my usercontrol.

    I want to have a property in my usercontrol that refers to one of the items of the collection.

    And I want to have a list at the property box of the IDE wich the Name properties of the items of the collection.

    How can i do it? how can i select the text in the list (the Name or the SurName)?

  2. #2

    Thread Starter
    New Member
    Join Date
    Jul 2003
    Posts
    5

    How to look for information about

    I'm very happy of this forum, but i don't want to abuse of it.

    I'm developing an usercontrol wich i want to be able to modify all properties (some of those a bit complicated, like the collection property or this one, relationed to items of the collection),

    and i would to know WHAT MUST I LOOK FOR. What i must study about for do this? must i look for designers, serialization, typeconverters, or WHAT?

    If someone knows a site which talk about it, please, tell me.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width