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

Is Expander related to PanelBar?

5 Answers 82 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Ben Hayat
Top achievements
Rank 2
Ben Hayat asked on 27 Aug 2008, 01:42 PM
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

5 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 27 Aug 2008, 02:07 PM
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.
0
Ben Hayat
Top achievements
Rank 2
answered on 27 Aug 2008, 02:39 PM
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
0
Ben Hayat
Top achievements
Rank 2
answered on 27 Aug 2008, 03:29 PM
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
0
Accepted
Valentin.Stoychev
Telerik team
answered on 27 Aug 2008, 04:18 PM
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.
0
Ben Hayat
Top achievements
Rank 2
answered on 27 Aug 2008, 04:31 PM
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!
Tags
PanelBar
Asked by
Ben Hayat
Top achievements
Rank 2
Answers by
Valentin.Stoychev
Telerik team
Ben Hayat
Top achievements
Rank 2
Share this question
or