Window Window Window Constructor

Definition

Initializes a new instance of the Window class.

public:
 Window();
[System.Security.SecurityCritical]
public Window ();
Public Sub New ()

Remarks

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.

Security

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

Applies to