共用方式為


NSMenu.Notifications.ObserveWindowResized 方法

定義

多載

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

ObserveWindowResized(EventHandler<NSNotificationEventArgs>)

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

參數

傳回

適用於

ObserveWindowResized(NSObject, EventHandler<NSNotificationEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於