Freigeben über


WindowEventsClass.WindowMoved-Ereignis

Diese API unterstützt die .NET Framework-Infrastruktur und ist nicht für die direkte Verwendung in Code bestimmt.

Tritt ein, nachdem ein Fenster verschoben oder seine Größe geändert wurde.

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 unterstützt keine Ereignisse.

Implementiert

_dispWindowEvents_Event.WindowMoved

Beispiele

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-Sicherheit

Siehe auch

Referenz

WindowEventsClass Klasse

EnvDTE-Namespace