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

RadWindow inside Window.

1 Answer 82 Views
Window
This is a migrated thread and some comments may be shown as answers.
Sergiy
Top achievements
Rank 1
Sergiy asked on 13 Sep 2012, 08:07 AM
Hello,
I have got some code:

<Application x:Class="QualerDA.App"<br>             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"<br>             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" StartupUri="Views/LoginWindow.xaml"><br></Application>

Where LoginWindow.xaml is a RadWindow Created as User Coontrol

<telerik:RadWindow<br>    x:Class="SomeProject.SomeFOlder.LoginWindow"<br>    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"<br>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"<br>    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"<br>    telerik:StyleManager.Theme="Vista"><br>    <Grid> ... </Grid><br></telerik:RadWindow>

 When I sturtup my project, I have got the next (see attach):

How to get rid of the System window?

1 Answer, 1 is accepted

Sort by
0
Sergiy
Top achievements
Rank 1
answered on 13 Sep 2012, 08:15 AM
Thank you for answer in my previous thread.
This post solved my problem.

I was removed in xaml row StartupUri="Views/LoginWindow.xaml" and created code as 
        protected override void OnStartup(StartupEventArgs e)<br>        {<br>            new LoginWindow().Show();<br>            base.OnStartup(e);<br>        }
Tags
Window
Asked by
Sergiy
Top achievements
Rank 1
Answers by
Sergiy
Top achievements
Rank 1
Share this question
or