Window.Left Property

Gets or sets the position of the window's left edge, in relation to the desktop. This is a dependency property.

Namespace: System.Windows
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:

[TypeConverterAttribute(L"System.Windows.LengthConverter, PresentationFramework, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null")] 
property double Left {
	double get ();
	void set (double value);
/** @property */
public double get_Left ()

/** @property */
public void set_Left (double value)

public function get Left () : double

public function set Left (value : double)

<object Left="double" .../>

Property Value

The position of the window's left edge, in logical units (1/96th of an inch).

Identifier field


Metadata properties set to true


If you do not specify a value, Left is set to the system default value. You can also specify the system default value by setting Left to NaN. Neither NegativeInfinity nor PositiveInfinity are valid values for Left.


You cannot set or get this property when a window is hosted in a browser.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions