Window Constructor
Initializes a new instance of the Window class.
Assembly: PresentationFramework (in PresentationFramework.dll)
The constructor initializes the Width, Height, Top, and Left properties to their default Window values.
If a window is created within an AppDomain that has an Application object, the constructor adds the Window object to the set of Application-managed windows via the Windows property of the Application object.
- SecurityPermission
for permission for this object to call unsafe native methods. Associated enumeration: UnmanagedCode
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.