RadPanelBarItem content

4 posts, 0 answers
  1. Greg
    Greg avatar
    4 posts
    Member since:
    Sep 2008

    Posted 10 Dec 2008 Link to this post

    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?


  2. Miroslav
    Miroslav avatar
    922 posts

    Posted 11 Dec 2008 Link to this post

    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.


    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Eli Perp
    Eli Perp avatar
    5 posts
    Member since:
    Aug 2009

    Posted 13 Apr 2010 Link to this post

    Hi Miroslav,

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

  4. Valentin.Stoychev
    Valentin.Stoychev avatar
    2198 posts

    Posted 14 Apr 2010 Link to this post

    Hi Eli Perp,

    Yes - you can place any content.

    Best wishes,
    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.
Back to Top