andrewjb
asked on
IDE Component property editor options..
I've create a user control 'ConnectionPoint'
I then create a user control 'Connector', and give it two public ConnectionPoint properties for 'Source' and 'Target'
Drop one of each on a form, and look at the properties for 'Connector'. The 'Source' and 'Target' have drop-down lists which contain the 'ConnectionPoint1' instance I've added to the form.
Great.
Now I create a Box object, and give it two ConnectionPoint instances as properties.
Drop a Box object onto the form.
Is it possible to get the Connector's 'Source' property to include the connection points that exist within the box. For example, ideally I'd like the drop-down list to contain:
ConnectionPoint1 - the instance dropped directly ontot he form
Box1.ConnectionPoint1
Box1.ConnectionPoint2 - the two properties that are within the instance of Box, dropped on the form.
Obviously this doesn't happen automagically. Is there something I can do to make it so?
I then create a user control 'Connector', and give it two public ConnectionPoint properties for 'Source' and 'Target'
Drop one of each on a form, and look at the properties for 'Connector'. The 'Source' and 'Target' have drop-down lists which contain the 'ConnectionPoint1' instance I've added to the form.
Great.
Now I create a Box object, and give it two ConnectionPoint instances as properties.
Drop a Box object onto the form.
Is it possible to get the Connector's 'Source' property to include the connection points that exist within the box. For example, ideally I'd like the drop-down list to contain:
ConnectionPoint1 - the instance dropped directly ontot he form
Box1.ConnectionPoint1
Box1.ConnectionPoint2 - the two properties that are within the instance of Box, dropped on the form.
Obviously this doesn't happen automagically. Is there something I can do to make it so?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER