How to get RadPanes in a RadPaneGroup to stack vertically?

2 posts, 0 answers
  1. toddhd
    toddhd avatar
    21 posts
    Member since:
    Aug 2006

    Posted 14 Sep 2010 Link to this post

    I have some XAML that looks like this:
    <telerik:RadSplitContainer InitialPosition="DockedLeft">
        <telerik:RadPaneGroup>
            <telerik:RadPane Header="Environment Explorer" IsSelected="True" HeaderTemplate="{StaticResource EnvironmentExplorerTemplate}">
                <telerik:RadTreeView x:Name="treeEnvironments" ItemTemplate="{StaticResource RISEnvironment}" />
            </telerik:RadPane>
            <telerik:RadPane Header="Properties" HeaderTemplate="{StaticResource PropertyTemplate}">
                <my:PropertyGrid />
            </telerik:RadPane>
        </telerik:RadPaneGroup>
    </telerik:RadSplitContainer>

    This creates a group, docked to the left, with overlapping RadPanes, like this:
    Overlapping RadPanes

    What I want however is to have the RadPanes "stacked", like this:
    Stacked RadPanes

    How do write the XAML so that the RadPanes are stacked initially?
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 15 Sep 2010 Link to this post

    Hello Todd,

    You can achieve this arrangement by setting the Orientation property of the SplitContainer to Vertical. For more information about arranging the SplitContainers you can refer to this help article:
    http://www.telerik.com/help/silverlight/raddocking-features-split-container.html

    Please let us know if you have any other questions.

    Sincerely yours,
    Konstantina
    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
Back to Top