[2003] Making a collection Browsable in the designer.
I'm making a user control that builds up the user interface dynamicaly depending on the number of 'elements' that are selected within the designers properties panel.
Each 'element' can have a number of associated items (thinking like the toolbar controls button collection) that can be set at design time via the properties panel.
The question is I know how to add single properties to the design time panel but how would you implement something like the button collection ?
Re: [2003] Making a collection Browsable in the designer.
Anybody know if this is possible ?
Re: [2003] Making a collection Browsable in the designer.
I'm not sure this is what you're asking, but a collection is a group of single elements. You can add each button from the collection as a single elt.
Re: [2003] Making a collection Browsable in the designer.
The basis of this is a user control I'm making that mimics the outlook sidebar, it allows the user to sepcify the number 'elements' (buttons) and the associated properties e.g text it then dynamically creates the number of required controls.
Each 'element' will have a collection of items associated with it that are displayed when the button is selected, the question is can this be done via the design time properties window ?
I'm thinking along the lines of the toolbar control that has a buttons collection associated with it.
This allows buttons to be added to the control and properties set individually, I'd just need to extend this a little to include a collection to hold the items.
The question is how do I invoke the popup properties window you get when you edit a collection at design time.
Sorry if this is a bit confusing.