Is Expander related to PanelBar?

6 posts, 1 answers
  1. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 27 Aug 2008 Link to this post

    Hi;

    I see the new (great) expander control. It seems like a PanelBar is made out of a series of Expanders (from a visual look point of view). My question is, is PanelBar made out of Expanders? If yes, will PanelBar items look and feel like each expander?

    Thanks!
    ..Ben
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 27 Aug 2008 Link to this post

    Hi Ben,

    No, PanelBar is not using the Expander control. Do you think design improvement in PanelBar is needed?:)

    Sincerely yours,
    Valentin.Stoychev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft banner
  4. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 27 Aug 2008 Link to this post

    Do you think design improvement in PanelBar is needed?:)
    I'd suggest to incorporate the expander as PanelBar items, if possible. If not, I'd take the PanelBar one step higher in Look&Feel. I think your other controls have exceeded the expectation for the PanelBar.

    Thanks for reply!
    ..Ben
  5. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 27 Aug 2008 Link to this post

    Valentin, let me ask you this. I see in the samples that the expander almost behaves like panelbar when it's associated with other expanders, i.e. when one opens another one closes. So, what's the difference between PanelBar and expander?

    Thanks!
    ..Ben
  6. Answer
    Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 27 Aug 2008 Link to this post

    Hello ..Ben,

    RadExpander is a very simple HeaderedContent control - having just a header and a content and a single action for toggling the content visibility. When you insert several expanders into a single container the expander do not communicate with each other.

    On the other hand the PanelBar is ItemsControls which supports hierarchy, databinding and has much more complicated functionality.

    That said - you are right that if you place several expander elements into a stack panel and add some additional logic you can achieve similar to PanelBar UI.

    Regards,
    Valentin.Stoychev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  7. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 27 Aug 2008 Link to this post

    Valentin, I'm glad you made this explanation about Expander. Now I know better where to use it and where NOT to.

    Thanks for prompt reply!

    Time to test other controls!
Back to Top
DevCraft banner