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

Change document host on run time

1 Answer 59 Views
Docking
This is a migrated thread and some comments may be shown as answers.
hayula
Top achievements
Rank 1
hayula asked on 06 Apr 2009, 10:08 AM
I have application that contain 2 grid - I want that when I unpined one of them - the second will strech .
(I mean, that every time the document host will change)
How can I do it?
Thanks,

1 Answer, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 06 Apr 2009, 03:57 PM
Hello hayula,

I am sorry, but I cannot understand what you want to achieve. Could you please take a look at the following code snippet and tell me whether there is something: 
<radDock:RadDocking> 
    <radDock:RadDocking.DocumentHost> 
        <radDock:RadSplitContainer> 
            <radDock:RadPaneGroup> 
                <radDock:RadPane Title="Pane 1"
                    <TextBlock Text="Put grid instead" /> 
                </radDock:RadPane> 
            </radDock:RadPaneGroup> 
 
            <radDock:RadPaneGroup> 
                <radDock:RadPane Title="Pane 2"
                    <TextBlock Text="Put grid instead" /> 
                </radDock:RadPane> 
            </radDock:RadPaneGroup> 
        </radDock:RadSplitContainer> 
    </radDock:RadDocking.DocumentHost> 
</radDock:RadDocking> 

If not, please, could you please provide us with some more details and probably a screenshot?

Best wishes,
Miroslav Nedyalkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Docking
Asked by
hayula
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or