I have been doing Winforms for the last 10 months. Our company is considering switching to WPF. I am having issue with setting the Height and Width of the WPF to match the pixels on the screen. I want the height to be 1080 and width to be 1920 because that is my screen resolution. In Winforms it works perfect because it goes based on screen resolution, so is this not the case for WPF?
<Title="Application"
Height="1080"
Width="1920"
WindowStyle="ThreeDBorderWindow"
WindowStartupLocation="CenterScreen"
WindowState="Maximized"
HorizontalAlignment="Center"
VerticalAlignment="Center"
SizeToContent="Height">
When I place a dock panel three fourths of the way down on my designer. When I run the application it is at the bottom of my application but if I put it at the bottom it doesn't show and I assume its off the screen. How do I get the same behavior from winforms on this? When I set it on the bottom of my application it is on the bottom when I run it.