RadWindow inside Window.

2 posts, 0 answers
  1. Sergiy
    Sergiy avatar
    38 posts
    Member since:
    Jan 2012

    Posted 13 Sep 2012 Link to this post

    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?
  2. Sergiy
    Sergiy avatar
    38 posts
    Member since:
    Jan 2012

    Posted 13 Sep 2012 Link to this post

    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>        }
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top