Docking RadNane without header

4 posts, 0 answers
  1. Jara
    Jara avatar
    29 posts
    Member since:
    Jul 2010

    Posted 30 Aug 2011 Link to this post

    Hi,
    It's possible docking RadPane without header?
    It's my code, RadPane "Vienas" hasn't header, and I couldn't docking it :(
    Or maybe it's possible to reduce header.
        <Grid x:Name="LayoutRoot" Background="White">
            <telerik:RadDocking HasDocumentHost="False">
                <telerik:RadSplitContainer>
                    <telerik:RadPaneGroup>
                        <telerik:RadPane Header="Vienas" Content="Vienas" CanUserClose="True" ContextMenuTemplate="{x:Null}" PaneHeaderVisibility="Collapsed" />                    
                    </telerik:RadPaneGroup>
                    <telerik:RadPaneGroup>
                        <telerik:RadPane Header="Du" Content="Du" />
                    </telerik:RadPaneGroup>
                    <telerik:RadPaneGroup>
                        <telerik:RadPane Header="Trys" Content="Trys" />
                    </telerik:RadPaneGroup>
                    <telerik:RadPaneGroup>
                        <telerik:RadPane Header="Keturi" Content="Keturi" />
                    </telerik:RadPaneGroup>
                </telerik:RadSplitContainer>
            </telerik:RadDocking>
        </Grid>


    Thanks,
    Jaroslavas
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 01 Sep 2011 Link to this post

    Hi Jara,

    You can remove the Header of the Pane, but yes, you won't be able to drag it. However, you can edit the template of the RadPane in order to change its size, but you have to apply the style implicitly.
    Could you please give us some more details what exactly you are trying to achieve. Sending us some screenshots would be very helpful.

    All the best,
    Konstantina
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. DevCraft banner
  4. Jara
    Jara avatar
    29 posts
    Member since:
    Jul 2010

    Posted 01 Sep 2011 Link to this post

    Yes, I want to change title size, in order to save space.
    Maybe I can do instead Title, for example button in panel content and docking with button help. (example.jpg)
    And, where I can find RadPane template?

    Thanks,
    Jaroslavas
  5. Dani
    Admin
    Dani avatar
    848 posts

    Posted 02 Sep 2011 Link to this post

    Hi Jara,

    What you actually need to change is the ToolWindowStyle. Simply generate all styles and resources of RadDocking and modify the ToolWindow ControlTemplate to fit your needs.

    I hope this helps.

    Regards,
    Dani
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top