Hello,
i'm using the Telerik Dock Controls.
In order to mvvm i'm using the binding to the Property PanesSource.
I Add a login Screeen at startup and want to show it in the center of the application and not docked to any of my SplitContainers.
The XAML head of the RadPane looks as followed:
<
telerik:RadPane
x:Class
=
"ProductLifecycle.Frontend.UI.UserControls.LoginPage"
xmlns:local
=
"clr-namespace:ProductLifecycle.Frontend.UI.UserControls"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:viewModels
=
"clr-namespace:ProductLifecycle.Frontend.ViewModels"
mc:Ignorable
=
"d"
d:DesignHeight
=
"300"
d:DesignWidth
=
"300"
Header
=
"{Binding Title}"
d:DataContext
=
"{d:DesignInstance viewModels:LoginPage, IsDesignTimeCreatable=False}"
telerik:RadDocking.DockState
=
"FloatingOnly"
telerik:RadDocking.FloatingSize
=
"300,200"
CanUserClose
=
"False"
CanUserPin
=
"False"
CanDockInDocumentHost
=
"False"
>
Everytime when i add this Control to my Binded Collection this window appears in the left of the docking control.
How can i start this window as floating window in front of my application?
Thanks,
Michael