共用方式為


NSMenuItem.Notifications.ObserveLayoutChanged 方法

定義

多載

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

ObserveLayoutChanged(EventHandler<NSNotificationEventArgs>)

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

參數

傳回

適用於

ObserveLayoutChanged(NSObject, EventHandler<NSNotificationEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於