WindowEventsClass.WindowMoved Event

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Occurs after a window is moved or resized.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
Public Overridable Event WindowMoved As _dispWindowEvents_WindowMovedEventHandler
'Usage
Dim instance As WindowEventsClass 
Dim handler As _dispWindowEvents_WindowMovedEventHandler 

AddHandler instance.WindowMoved, handler
public virtual event _dispWindowEvents_WindowMovedEventHandler WindowMoved
public:
virtual   event _dispWindowEvents_WindowMovedEventHandler^ WindowMoved {
    void add (_dispWindowEvents_WindowMovedEventHandler^ value);
    void remove (_dispWindowEvents_WindowMovedEventHandler^ value);
}
JScript does not support events.

Implements

_dispWindowEvents_Event.WindowMoved

Examples

Public Sub WindowEvents_WindowMoved(ByVal Window As EnvDTE.Window, ByVal Top As Integer, ByVal Left As Integer, ByVal [Width] As Integer, ByVal Height As Integer) Handles WindowEvents.WindowMoved
   MsgBox("test")
End Sub

.NET Framework Security

See Also

Reference

WindowEventsClass Class

WindowEventsClass Members

EnvDTE Namespace