I have a WP application with a custom window style. The size of the application windows is fixed and is not resizable (client's request).
If the screen resoulution is smaller than the size of application window, the window gets cropped. If I drag the window to get the cropped part into the screen, it stays invisible!
How can I tell WPF to stop cropping the window to the screen resolution so I can still see the entire window if I drag it around?
The code of my window is the following:
<Window x:Class="AudioApplication.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
d:DesignHeight="540" d:DesignWidth="1020"
xmlns:VW="clr-namespace:MyApp.View"
Title="MyApp" AllowsTransparency="False"
WindowStyle="None" Background="#6C6D6C"
ResizeMode="NoResize" ShowInTaskbar="True"
WindowStartupLocation="CenterScreen" Width="1005" Height="500"
Icon="/MyApp;component/MyApp.ico">