Window Constructor ()

 

Initializes a new instance of the Window class.

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

[<SecurityCriticalAttribute>]
new : unit -> 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.

SecurityPermission

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

.NET Framework
Available since 3.0
Silverlight
Available since 4.0
Return to top
Show: