Hi everybody, excuse me for my English.
I know that manyconversationsweremade for thistype of problem
but noneanswer myspecific problem...
I am currently improvinga Wpf Application coded in C # and xamlin Microsoft Visual Studio Express 2012 for Windows Desktop.
I would like to remove the navigation bar at the top of my windowandmaximize it. In myxaml file I do:
<NavigationWindow x:Class="WpfAppTest.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
WindowState="Maximized"
WindowStyle="None"
Title="MainWindow" Height="980 " Width="540" Source="Home.xaml" />
Despite WindowState= "Maximized"andWindowStyle="None" the navigation baris still displayed and the window is still small. I followedseveral tutorials that removed the navigation bar, butthey used a Window class. I did sometests on a new project by creating a class Window and I can well maximize and remove the navigation barfrom my window.
But in my case I need to improve an application in progress but the main windowtype isMainWindow<NavigationWindowx:Class = "WpfAppTest.MainWindow"and Ican not change the type of classto return to the Window class.
Indeed the source Source= "Home.xaml" is no longerrecognized after the change Navigation Window to Window. My applicationcontains several pages and I must navigate throughit so I have to keep my"Home" type"page" page:<Pagex:Class = "WpfAppTest.Home".
Do you have any idea where my problem may be?
Thanks you in advance.