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

Docking RadNane without header

3 Answers 41 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Jara
Top achievements
Rank 1
Jara asked on 30 Aug 2011, 02:40 PM
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

3 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 01 Sep 2011, 08:11 AM
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 >>

0
Jara
Top achievements
Rank 1
answered on 01 Sep 2011, 01:05 PM
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
0
Dani
Telerik team
answered on 02 Sep 2011, 03:45 PM
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 >>

Tags
Docking
Asked by
Jara
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Jara
Top achievements
Rank 1
Dani
Telerik team
Share this question
or