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

How can /i make a floating window in XAML

1 Answer 51 Views
Window
This is a migrated thread and some comments may be shown as answers.
Alexy
Top achievements
Rank 1
Alexy asked on 11 Nov 2012, 10:51 PM
Hi.

Checking your samples, like
http://demos.telerik.com/silverlight/#Window/Customization - it adds floating, dragable windows in code:

CustomizationWindow window = new CustomizationWindow();
window.Show();



How can I get same floating, movable Window in parent page XAML (Example.xaml in this case), like

<telerik:RadWindow WindowStartupLocation="CenterOwner" ResizeMode="CanMinimize" CanMove="True" Width="100" Height="100"></telerik:RadWindow>

this ^^ XAML gives me a fixed non-movable window positioned in top-left corner


TIA

1 Answer, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 14 Nov 2012, 09:05 PM
Hi Alexy,

In order to use the RadWindow in XAML you need to set it as a separate UserControl. More info on how to do this you can find in this help article.

All the best,
Boyan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Window
Asked by
Alexy
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Share this question
or