Q:

What is the WPF equivalent of Windows Forms' `StartPosition` property?

On Windows Forms, you have the StartPosition property which allows you to specify the position on the screen your form will be placed when it launches.
Does WPF have an equivalent and if so what is it?
Thanks

A:

I think you are looking for WindowsStartupLocation:

Setting WindowStartupLocation to Manual causes a window to be positioned according to its Left and Top property values. If either the Left or Top properties aren't specified, their values are determined by Windows.

<Window x:Class="WpfAppl.Window1" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Title="WindowName" 
    Height="500" Width="500"
    WindowStartupLocation="Manual" 
    Left="0" Top="0">
</Window>

