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

Using MDI RadWindows in xbap application

2 Answers 169 Views
Window
This is a migrated thread and some comments may be shown as answers.
xu jundong
Top achievements
Rank 1
xu jundong asked on 05 Feb 2010, 03:14 AM

Hi,

I'd like to implement an MDI-like workspace in xbap application, is there any container for multiple RadWindows?

In my xbap application, I'd like the content-region would hold multiple RadWindows which can be dragged around, minimized, maximized, etc.

For dragging, I'd like it so that the windows themselves cannot be dragged outside of the mdi-window content region.

I'd appreciate any help/sample solution on how to implement this.

My xaml code is as follows:I have try to create MDI RadWindows in container1, but failed.

        <telerik:RadDocking Name="radDocking1" Grid.Column="1" Grid.Row="1" AllowUnsafeMode="True">  
            <telerik:RadDocking.DocumentHost> 
                <telerik:RadSplitContainer InitialPosition="DockedLeft" Name="container1" HorizontalContentAlignment="Left">  
                    <telerik:RadPaneGroup Name="editGroup">  
                    </telerik:RadPaneGroup> 
                </telerik:RadSplitContainer> 
            </telerik:RadDocking.DocumentHost> 
 
            <telerik:RadSplitContainer telerik:DockingPanel.InitialSize="150,150" InitialPosition="DockedBottom" Height="250">  
                <telerik:RadPaneGroup Name="listGroup">  
                    <telerik:RadDocumentPane Title="Error Message" Name="errorMSGPane">  
                        <telerik:RadDocumentPane.Content> 
                            <TextBlock Name="tberrorMSG" Foreground="Red"</TextBlock> 
                        </telerik:RadDocumentPane.Content> 
                    </telerik:RadDocumentPane>                      
                </telerik:RadPaneGroup> 
            </telerik:RadSplitContainer> 
 
        </telerik:RadDocking> 

2 Answers, 1 is accepted

Sort by
0
Accepted
Miroslav Nedyalkov
Telerik team
answered on 05 Feb 2010, 01:15 PM
Hi Xu Jundong,

 Unfortunately we don't have control that implements this functionality out-of-the-box. As you already noticed we have a Docking control that almost accomplishes the task, but it doesn't support minimize and maximize. We have a Window control that is just a single window and support minimize and maximize. It might be more appropriate for your case, but you will need to implement the MDI behavior yourself.

Hope this helps.

Best wishes,
Miroslav Nedyalkov
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
xu jundong
Top achievements
Rank 1
answered on 08 Feb 2010, 03:09 AM
Thanks for your answer!

That's really help. I will use a Docking control instead.
Tags
Window
Asked by
xu jundong
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
xu jundong
Top achievements
Rank 1
Share this question
or