I'm trying to set up a WPF window.
- Window should be in maximized state always
- Window cannot be moved or resized
- It should contain minimize and close button but not maximize button
I tried the following XAML code
<Window x:Class="BasicImagingStandAlone"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:myUserControl="clr-namespace:WpfUserControlLibrary;assembly=WpfUserControlLibrary"
Title="BasicImagingStandAlone" Icon="desktopicon.png" MinWidth="600" MinHeight="350" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Height="600" Width="1200" WindowState="Maximized" WindowStyle="None" ResizeMode="NoResize">
</Window>
The output of the xaml is a window in maximized state which cannot be moved or resized but with no buttons. How can i achieve all the requirments at once?