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

No ExpandMode ?

3 Answers 35 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
john
Top achievements
Rank 1
john asked on 29 Mar 2010, 06:38 PM
I am using the trial version of Sivlerlight Controls.
On the PanelBar, I do not see a Property for Expand Mode = "single" or something to the like of.

How do i get the behavior of just having one Panel open at a time?
Isn't this property:   'Expand Mode' usually associated with the Panel Bar behavior?


 

 

<telerikNavigation:PanelBarPanel x:Name="ExperienceBar"

 

 

VerticalAlignment="Stretch" Width="250" Canvas.Left="20" Canvas.Top="40">

 

 

 


<
telerikNavigation:RadPanelBarItem Expanded="RadPanelBarItem_Expanded" >

 

 

 

    <telerikNavigation:RadPanelBarItem.Header>

 

 

 

        <TextBlock Text="Residents"></TextBlock>

 

 

 

      </telerikNavigation:RadPanelBarItem.Header>

 

 

 


<
TextBlock Text="Content Test" />

 

 

 

</telerikNavigation:RadPanelBarItem>

 

 

 

 

<telerikNavigation:RadPanelBarItem IsExpanded="True">

 

 

 

<telerikNavigation:RadPanelBarItem.Header>

 

 

 

<TextBlock Text="Artists"></TextBlock>

 

 

 

</telerikNavigation:RadPanelBarItem.Header>

 

 

 

<TextBlock Text="Content 2 Test" />

 

 

 

</telerikNavigation:RadPanelBarItem>

 

 

 

 

<telerikNavigation:RadPanelBarItem>

 

 

 

<telerikNavigation:RadPanelBarItem.Header>

 

 

 

<TextBlock Text="something"></TextBlock>

 

 

 

</telerikNavigation:RadPanelBarItem.Header>

 

 

 

 

<TextBlock Text="Content 3 Test" />

 

 

 

 


</
telerikNavigation:RadPanelBarItem>

 



thanks,
John

3 Answers, 1 is accepted

Sort by
0
Tihomir Petkov
Telerik team
answered on 30 Mar 2010, 01:44 PM
Hello John,

The PanelBar control indeed has an ExpandMode property and its default value is "Single". Please take a look at the sample project I prepared for you and let me know if you have any difficulties or questions.

Best wishes,
Tihomir Petkov
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.
0
john
Top achievements
Rank 1
answered on 01 Apr 2010, 11:59 AM
I believe for some reaosn i was using teleriknavigation:panelbarpanel instead of telerik:radpanelbar.
apologies.
-john
0
Tina Stancheva
Telerik team
answered on 01 Apr 2010, 12:00 PM
Hello john,

We are glad we were able to help you.

Please let us know if we can further assist you.

Greetings,
Tina Stancheva
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
john
Top achievements
Rank 1
Answers by
Tihomir Petkov
Telerik team
john
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or