Поделиться через


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
public virtual event _dispWindowEvents_WindowMovedEventHandler WindowMoved
public:
virtual  event _dispWindowEvents_WindowMovedEventHandler^ WindowMoved {
    void add (_dispWindowEvents_WindowMovedEventHandler^ value);
    void remove (_dispWindowEvents_WindowMovedEventHandler^ value);
}
abstract WindowMoved : IEvent<_dispWindowEvents_WindowMovedEventHandler,
    EventArgs>
override WindowMoved : IEvent<_dispWindowEvents_WindowMovedEventHandler,
    EventArgs>
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

EnvDTE Namespace