This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
NativeWindow Methods
The methods of the NativeWindow class are listed below. For a complete list of NativeWindow class members, see the NativeWindow Members topic.
Public:
AssignHandle |
Assigns a handle to this window. |
CreateHandle |
Creates a window handle for this window. |
DefWndProc |
Invokes the default window procedure associated with this Window. It is an error to call this method when the Handle property is zero. |
DestroyHandle |
Destroys the handle associated with this window. |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
FromHandle |
Retrieves the window associated with the specified handle. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetLifetimeService (inherited from MarshalByRefObject) |
This method is used return a lifetime service object that is used to control the lifetime policy to the object. For the default Lifetime service this will be an object of type ILease. |
GetType (inherited from Object) |
Gets the Type of the Object. |
InitializeLifetimeService (inherited from MarshalByRefObject) |
|
ReleaseHandle |
Releases the handle associated with this window. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Protected:
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
OnHandleChange |
Specifies a notification method that is called when the handle for a window is changed. |
OnThreadException |
When overridden in a derived class, manages an unhandled thread exception. |
WndProc |
Invokes the default window procedure associated with this window. |
See Also
NativeWindow Class | System.WinForms Namespace