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

Stacked Expaners

1 Answer 88 Views
Expander
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 08 May 2009, 09:21 PM

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>

 

1 Answer, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 11 May 2009, 08:33 AM
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.
Tags
Expander
Asked by
Jeff
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Share this question
or