No ExpandMode ?

4 posts, 0 answers
  1. john
    john avatar
    12 posts
    Member since:
    Feb 2008

    Posted 29 Mar 2010 Link to this post

    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
  2. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 30 Mar 2010 Link to this post

    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.
  3. DevCraft banner
  4. john
    john avatar
    12 posts
    Member since:
    Feb 2008

    Posted 01 Apr 2010 Link to this post

    I believe for some reaosn i was using teleriknavigation:panelbarpanel instead of telerik:radpanelbar.
    apologies.
    -john
  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 01 Apr 2010 Link to this post

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