Hi iduarte,
Sure, you can.
RadTabStrip supports two different modes of work - tab strip and tab control modes. Its default mode is tab control as the
EnableHostControlMode property is true. The main difference between these two modes is that the first one is not able to host any controls in its tab items where the purpose of the second one is to host controls.
You can add a control to a
TabItem in two ways - design mode and by code:
- Add a control to a TabItem in design mode.
- Drag and Drop a new instance of RadTabStrip
- Add a few tab items
- Select a TabItem
- Drag and Drop a control into the surface below the TabItem. This surface represents a panel control which is the container of the controls and is associated with the tab item
- Add a control to a TabItem by code
- Drag and Drop a new instance of RadTabStrip
- Add a few tab items
- Select a TabItem
- TabItem has the ContentPanel property which represents the container panel of the controls. ContentPanel is a bit enhanced Microsoft Panel and includes its standard behavior. So to add a control to the panel you can write: this.tabItem1.ContentPanel.Controls.Add(control)
If you have additional questions, feel free to contact me.
Kind regards,
Boyko Markov
the Telerik team
Check out
Telerik Trainer, the state of the art learning tool for Telerik products.