Hello Renato Lopes,
Thank you for the question.
I suppose that you want to add a label to some of the
PanelBarGroups. In this case you could use the
PanelBarGroupElement Items collection. Please, review the code-block below:
RadLabelElement labelElement = new RadLabelElement(); |
labelElement.Text = "label element"; |
|
this.radPanelBarGroupElement1.Items.Add(labelElement); |
The other way is to use the
RadPanelBarGroupElement's property EnableHostControlMode. When you set this property to true then we add a ContentPanel as a child of the group element When the groups have EnableHostControlMode = true then you simply have to drag and drop RadLabel control into the content panel.
Please, let me know if this does not suite to your scenario.
Greetings,
Martin Vasilev
the Telerik team
Check out
Telerik Trainer, the state of the art learning tool for Telerik products.