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

How to add a RadWindow in a WPF Window as a child control? How can I move child RadWindow in parent WPF Window?

7 Answers 544 Views
Window
This is a migrated thread and some comments may be shown as answers.
Nitin Joshi
Top achievements
Rank 1
Nitin Joshi asked on 15 Apr 2010, 07:55 AM

Dear All,

I want to add RadWindow in WPF Window as a child control like following:
  

<

 

Window x:Class="MDIApplication.Window1"
xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation

 

 

 

xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"

 

 

 

xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml

 

 

 

Title="Window1" Height="300" Width="300">

 

 

 

    <Canvas>

 

 

 

        <telerik:RadWindow Width="500" Height="300" BorderBackground="Yellow" BorderThickness="30" BorderBrush="Green" Visibility="Visible" />

 

 

 

    </Canvas>

 

</

 

Window>

Now I want to move this child RadWindow inside the parent WPF Window, Just same as an MDI Child Window inside an MDI Parent Window.

 

 

 

7 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 20 Apr 2010, 12:24 PM
Hello Nitin,

Thank you for contacting us.

The MDI feature is not supported from RadWindow. However, you can achieve something similar by creating a UserControl which inherits RadWindow and set its owner.
Attached you will find a sample project in which this is illustrated. The application is in Silverlight, but the logic is the same and you can use it as example.

If you have any other questions about our controls please do not hesitate to contact us again.

All the best,
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.
0
Nitin Joshi
Top achievements
Rank 1
answered on 23 Apr 2010, 11:42 AM
Where is the attachment link ?
0
Konstantina
Telerik team
answered on 23 Apr 2010, 01:10 PM
Hi Nitin,

Sorry for the omission.

Please find the attached project.

Greetings,
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.
0
ModernMotionControl
Top achievements
Rank 1
answered on 10 Jan 2011, 09:42 PM
Can we get this sample in WPF for VS2010?
0
Konstantina
Telerik team
answered on 12 Jan 2011, 10:15 AM
Hello,

Please find the attached project for Visual Studio 2010.

Regards,
Konstantina
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Michael
Top achievements
Rank 1
answered on 01 Mar 2012, 12:27 AM
I don't see where that example changes anything?
0
Konstantina
Telerik team
answered on 05 Mar 2012, 12:59 PM
Hi Michael,

It doesn't change anything - no code is different than the 2008 version, it is just compiled against VS2010 and .NET 4 version.

Regards,
Konstantina
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Window
Asked by
Nitin Joshi
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Nitin Joshi
Top achievements
Rank 1
ModernMotionControl
Top achievements
Rank 1
Michael
Top achievements
Rank 1
Share this question
or