WindowEventArgs Interface
Provides information for the ActivateEvent, Deactivate, and WindowSize events.
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
| Name | Description | |
|---|---|---|
![]() | Window | Gets the window being acted upon by the ActivateEvent, Deactivate, and WindowSize methods. |
The following code example creates an event handler for the WindowSize event. The event handler displays in the window caption the number of times that the window has been resized.
This example is for a document-level customization.
Show:
