Gets or sets a value that indicates the width of the window.
Assembly: PresentationCore (in PresentationCore.dll)
XMLNS for XAML: Not mapped to an xmlns.
Unlike most methods that take rectangle screen region measures in Windows Presentation Foundation (WPF), you specify this window's size in device pixels, not in the usual device-independent units. If you need to size your window to its content, set SizeToContent to true.
Do not set to 0 (zero). Doing so incurs a substantial performance penalty in rendering.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2