Full screen in WPF application Full screen in WPF application wpf wpf

Full screen in WPF application


Just set the WindowState to Maximized, and the WindowStyle to None.


Set the WindowStyle to None, and the WindowState to Maximized. This can be done like this:

WindowState = WindowState.Maximized;WindowStyle = WindowStyle.None;

Or in xaml:

<Window x:Class="FullScreenApplication.Window"    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    Title="Full Screen WPF"    WindowState="Maximized"    WindowStyle="None">

And simply click ALT-TAB to escape from your full screen wpf. It allows you to switch between other applications.


  • WindowState.Maximized
  • SizeToContent.Manual