Window Constructor
Collapse the table of content
Expand the table of content

Window Constructor ()


Initializes a new instance of the Window class.

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

public Window()

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.


for permission for this object to call unsafe native methods. Associated enumeration: UnmanagedCode

.NET Framework
Available since 3.0
Available since 4.0
Return to top
© 2015 Microsoft