WPF Window size have monitor size [duplicate]
问题 This question already has answers here : Resize WPF Window and contents depening on screen resolution (2 answers) Closed 3 years ago . I am new in WPF and I want to make a window that has max sizes (monitor sizes). The Window's XAML code is this: <Window x:Class="WpfApplication1.Stop" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Stop" Height="{Binding}" Width="{Binding}" Background="Black" WindowStartupLocation