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

Style DocumentHost - Header

1 Answer 65 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Monika Kogler
Top achievements
Rank 1
Monika Kogler asked on 20 Oct 2010, 11:02 AM
hi,
i'm using the document host, but i want to remove its header (no tabs, no closing button). how can do this? i'm currently using the document host because i want the right container to fill the remaining space (see screenshot). if there is any other (better?) way to achive this, please let me know!
there will be no drag/drop or any other thing with the document host. the frame content will only change!
i have also any issue with the outlook-bar: i want to remove the 'item' in the footer too.

that's my code:
 <Controls:RadDocking HasDocumentHost="True">
            <Controls:RadDocking.DocumentHost>
                <Controls:RadSplitContainer>
                    <Controls:RadPaneGroup>
                        <Controls:RadPane PaneHeaderVisibility="Collapsed">
                            <Grid>
                                <sdk:Frame x:Name="frmMain" Background="Pink" />
                            </Grid>
                        </Controls:RadPane>
                    </Controls:RadPaneGroup>
                </Controls:RadSplitContainer>
            </Controls:RadDocking.DocumentHost>
            <Controls:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft">
                <Controls:RadPaneGroup>
                    <Controls:RadPane IsPinned="True" CanUserClose="False" CanFloat="False" CanDockInDocumentHost="False" PaneHeaderVisibility="Collapsed">
                        <telerik:RadOutlookBar x:Name="radOutlookBar" SelectionChanged="BarSelection_Changed">
                            <telerik:RadOutlookBarItem Header="Item 1"></telerik:RadOutlookBarItem>
                            <telerik:RadOutlookBarItem Header="Item 2"></telerik:RadOutlookBarItem>
                            <telerik:RadOutlookBarItem Header="Item 3"></telerik:RadOutlookBarItem>
                            <telerik:RadOutlookBarItem Header="Item 4"></telerik:RadOutlookBarItem>
                            <telerik:RadOutlookBarItem Header="Beenden" Tag="CLOSE"></telerik:RadOutlookBarItem>
                        </telerik:RadOutlookBar>
                    </Controls:RadPane>
                </Controls:RadPaneGroup>
            </Controls:RadSplitContainer>            
        </Controls:RadDocking>

any suggestions? thx!

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 20 Oct 2010, 11:29 AM
Hi Monika,

Thank you for the screenshot and the code snippet.

How to remove the header of the Pane in the DocumentHost you can read in this help article:
http://www.telerik.com/help/silverlight/raddocking-how-to-remove-the-header-of-the-radpane.html
As for the OutlookBar you could refer to this article in our online documentation:
http://www.telerik.com/help/silverlight/radoutlookbar-how-to-hide-the-minimized-area.html

Please feel free to contact us again if you have any other questions.

Regards,
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
Tags
Docking
Asked by
Monika Kogler
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or