This is a migrated thread and some comments may be shown as answers.

RadPanelBarItem content

3 Answers 103 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 10 Dec 2008, 04:18 PM
I am a little unclear on the scope of the RadPanelBar. I understand that the RadPanelBar contains a tree-like structure of RadPanelBarItems. Can these items be any content such as Grids, StackPanels of controls, etc.? Or are they just tree-like text as shown in the demo project? The documentation only mentions an Item property that is an 'object'.

Also, the documentation is called RadControls for Silverlight. I assume it also applies to WPF. Is there any functionality that is Silverlight or WPF specific?

Thanks.

Greg

3 Answers, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 11 Dec 2008, 08:29 AM

Hi Greg,

The PanelBar is a standard ItemsControl and it is quite similar to the TreeView. The content of its children is not restricted to string, but as the property suggests (object), it can be anything.

ItemTemplates, TemplateSelectors, Styles & StyleSelectors work as well.

It seems we have overlooked changing the Silverlight to WPF in the PanelBar's documentation but the API and behaviour of the control is the same. Thank you for pointing this out. We will surely fix it.

The reason why we implemented different functionalities is that there are differencies between the WPF and Silverlight platforms that we could not overcome. For example, the WPF base ItemsControl comes with functionality like grouping and LayoutTransformations which are not available in the Silverlight framework.

We will be happy to help you if you face any other difficulties or have further questions.

Regards,

Miroslav
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Eli Perp
Top achievements
Rank 1
answered on 13 Apr 2010, 04:59 PM
Hi Miroslav,

Would it be possible to put a user control within the RadPanelBarItem using datatemplate?

Regards,
Eli
0
Valentin.Stoychev
Telerik team
answered on 14 Apr 2010, 07:23 AM
Hi Eli Perp,

Yes - you can place any content.

Best wishes,
Valentin.Stoychev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
PanelBar
Asked by
Greg
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Eli Perp
Top achievements
Rank 1
Valentin.Stoychev
Telerik team
Share this question
or