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

返回

适用于