Stacked Expaners

2 posts, 0 answers
  1. Jeff
    Jeff avatar
    1 posts
    Member since:
    Apr 2009

    Posted 08 May 2009 Link to this post

    What type of object should I place two expanders so that they work on on top of the other....

    What I want is for the "Seach" expander to kick down when I open up the Naviage expander...

     

     

     

    <telerik:RadExpander

     

     

     

        x:Name="NavigateExpander" ExpandDirection="Down"

     

     

        HorizontalAlignment="Stretch" Grid.Row="2" Grid.RowSpan="4">

     

     

     

        <telerik:RadExpander.Header>

     

     

     

            <TextBlock x:Name="NavigateCaption" Foreground="#FFFFFFFF" Text="Navigate To.." Visibility="Visible" />

     

     

     

        </telerik:RadExpander.Header>

     

     

     

        <telerik:RadExpander.Content>

     

     

     

            <Button Height="25" Width="152" Content="Latitiude/Longitude"/>

     

     

     

        </telerik:RadExpander.Content>

     

     

     

    </telerik:RadExpander>

     

     

     

     

     

     

    <telerik:RadExpander

     

     

     

        x:Name="SearchExpander" ExpandDirection="Down"

     

     

        VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Grid.Row="3" Grid.RowSpan="4" >

     

     

     

        <telerik:RadExpander.Header>

     

     

     

            <TextBlock x:Name="SearchCaption" Foreground="#FFFFFFFF" Text="Search For..." Visibility="Visible" />

     

     

     

        </telerik:RadExpander.Header>

     

     

     

        <telerik:RadExpander.Content>

     

     

     

            <Button Height="25" Width="152" Content="Pipelines"/>

     

     

     

        </telerik:RadExpander.Content>

     

     

     

    </telerik:RadExpander>

     

  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 11 May 2009 Link to this post

    Hello Jeff,

    you should insert them into a StackPanel. Like that:
            <StackPanel> 
            <telerik:RadExpander x:Name="RadExpander1" Header="Expander1">  
                <TextBlock Text="Expander1"></TextBlock></telerik:RadExpander> 
            <telerik:RadExpander Header="Expander2">  
                <TextBlock Text="Expander2"></TextBlock> 
            </telerik:RadExpander> 
            <telerik:RadExpander Header="Expander3">  
                <TextBlock Text="Expander3"></TextBlock> 
            </telerik:RadExpander> 
    </StackPanel> 


    All the best,
    Valentin.Stoychev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft banner
Back to Top