共用方式為


NSMenu.Notifications.ObserveWindowMoved 方法

定義

多載

ObserveWindowMoved(EventHandler<NSNotificationEventArgs>)
ObserveWindowMoved(NSObject, EventHandler<NSNotificationEventArgs>)

ObserveWindowMoved(EventHandler<NSNotificationEventArgs>)

public static Foundation.NSObject ObserveWindowMoved (EventHandler<Foundation.NSNotificationEventArgs> handler);
static member ObserveWindowMoved : EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject

參數

傳回

適用於

ObserveWindowMoved(NSObject, EventHandler<NSNotificationEventArgs>)

public static Foundation.NSObject ObserveWindowMoved (Foundation.NSObject objectToObserve, EventHandler<Foundation.NSNotificationEventArgs> handler);
static member ObserveWindowMoved : Foundation.NSObject * EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject

參數

objectToObserve
NSObject

傳回

適用於