RadPaneGroup Q1 2013

7 posts, 0 answers
  1. mg
    mg avatar
    4 posts
    Member since:
    Oct 2012

    Posted 01 Apr 2013 Link to this post

    The release notes for Q1 2013 state that the TabStripPlacement property is now supported for RadDocking.

    Could somebody please provide an example of this working?
  2. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 04 Apr 2013 Link to this post

    Hello,

    By default when you place Panes in a PaneGroup that is not inside a DocumentHost the TabStripPlacement property is set to Bottom. In the current version of RadDocking only the Top and Bottom settings are supported, the Left and Right settings are available so that they could be customized and implemented.

    The next sample code snippet shows how to set the TabStripPlacement of a PaneGroup to Top:
    <telerik:RadDocking>
        <telerik:RadSplitContainer>
            <telerik:RadPaneGroup TabStripPlacement="Top">
                <telerik:RadPane Header="Pane 1"/>
                <telerik:RadPane Header="Pane 2"/>
                <telerik:RadPane Header="Pane 3"/>
                <telerik:RadPane Header="Pane 4"/>
            </telerik:RadPaneGroup>
        </telerik:RadSplitContainer>
    </telerik:RadDocking>


    Kind regards,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. mg
    mg avatar
    4 posts
    Member since:
    Oct 2012

    Posted 05 Apr 2013 Link to this post

    Thanks Vladi.

    What about a RadPaneGroup that is inside a DocumentHost? Is it possible to have TabStripPlacement (Top|Bottom) working?
  5. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 09 Apr 2013 Link to this post

    Hi,

    In the current version of RadDocking setting the TabStripPlacement for panes placed inside the DocumentHost is not supported.

    If you want to customize the placement of the strip for the Panes that are inside the DocumentHost you will need to customize the PaneDocumentHostTemplate of the control.

    Greetings,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. Y
    Y avatar
    2 posts
    Member since:
    Jul 2013

    Posted 29 Jul 2013 Link to this post

    Hi,

    I've saved the Layout of  my pages with RadDocking.SaveLayout methode and try to load it with Raddocking.LoadLayout at next program start. But RadDocking.SaveLayout doesn't write out the TabStripPlacemant property, Raddocking.LoadLayout doesn't read the property and  set TabStripPlacemant with default value (Bottom). I've tried to set TabStripPlacemant ="Top" in code behind after Raddocking.LoadLayout but it has no effect.

    Is there  any workaround?

    best regards
  7. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 29 Jul 2013 Link to this post

    Hi,

    In the RadDocking control in order for the properties of the components of the control to be saved and loaded by the built-in Save/Load layout functionality you will need to set the SerializationTag attached property to the desired RadPaneGroups, RadPanes etc. In order for the TabStripPlacement to be saved and loaded all you need to do is make sure that the telerik:RadDocking.SerializationTag attached property is set to that RadPaneGroup. The next code snippet shows how the Docking control should look like:
    <telerik:RadDocking>
        <telerik:RadSplitContainer>
                    <telerik:RadPaneGroup TabStripPlacement="Top" telerik:RadDocking.SerializationTag="RadPaneGroup1">
                <telerik:RadPane Header="Pane Left 1" x:Name="Pane1" telerik:RadDocking.SerializationTag="PaneLeft1"/>
            </telerik:RadPaneGroup>
        </telerik:RadSplitContainer>
    </telerik:RadDocking>

    Hope this is helpful.

    Regards,
    Vladi
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  8. Y
    Y avatar
    2 posts
    Member since:
    Jul 2013

    Posted 29 Jul 2013 Link to this post

    yep, it works fine.

    thanks
Back to Top
UI for WPF is Visual Studio 2017 Ready