Adding controls to RadPanelBar
|
Article relates to
|
r.a.d controls for WinForms
|
|
Created by
|
Boyko Markov, Telerik
|
|
Last modified
|
February, 12, 2007
|
|
Last modified by
|
Boyko Markov, Telerik
|
HOW-TO
Add controls to RadPanelBar
SOLUTION
- Drag and drop a new RadPanelBar instance from the VS2005 toolbox on your Windows form
- Add RadPanelBarGroupElements to the RadPanelBar:
You can add new groups to the RadPanelBar using the Items collection of the control. This can be done either in design time or programmatically. If you want to add groups in design time you can use the smart tag of the RadPanelBar and then click on Edit Items. Programmatically it can be done by writing:
RadPanelBarGroupElement group = new RadPanelBarGroupElement();
RadPanelBar.Items.Add( group );
- Select a group of the RadPanelBar
- Set the EnableHostControlMode property of the selected group to true.
- Drag and Drop a control into the selected group's inner area
Comments
If you'd like to comment on this KB
article, please, send us a
Support Ticket.
Thank you!
Please
Sign In
to rate this article.