G
Guest
The ToolBar control allows you to add toolbar buttons. When you add a button,
the button is not only displayed in the toolbar, but also added as a
separator control in the form/usercontrol your toolbar exists in.
I'm writing my own usercontrol which contains various different controls
(e.g. Panel, Button). I would like these controls to be listed in the drop
down just above the Properties grid, when a new instance of the usercontrol
is added to the form. This will allow the user to select the controls and
customize them.
I also want to allow the user to able to click on the controls in the
usercontrol to select them and display their property values in the Property
Grid.
Can someone please show me a C# example on how to do this.
Thank you.
Regards
Mark
the button is not only displayed in the toolbar, but also added as a
separator control in the form/usercontrol your toolbar exists in.
I'm writing my own usercontrol which contains various different controls
(e.g. Panel, Button). I would like these controls to be listed in the drop
down just above the Properties grid, when a new instance of the usercontrol
is added to the form. This will allow the user to select the controls and
customize them.
I also want to allow the user to able to click on the controls in the
usercontrol to select them and display their property values in the Property
Grid.
Can someone please show me a C# example on how to do this.
Thank you.
Regards
Mark