編輯

共用方式為


UIMenuController.Notifications Class

Definition

Notification posted by the UIMenuController class.

public static class UIMenuController.Notifications
type UIMenuController.Notifications = class
Inheritance
UIMenuController.Notifications

Remarks

This is a static class which contains various helper methods that allow developers to observe events posted in the iOS notification hub (NSNotificationCenter).

The methods defined in this class post events invoke the provided method or lambda with a NSNotificationEventArgs parameter which contains strongly typed properties for the notification arguments.

Methods

ObserveDidHideMenu(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidHideMenuNotification constant.

ObserveDidHideMenu(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidHideMenuNotification constant.

ObserveDidShowMenu(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidShowMenuNotification constant.

ObserveDidShowMenu(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidShowMenuNotification constant.

ObserveMenuFrameDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MenuFrameDidChangeNotification constant.

ObserveMenuFrameDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MenuFrameDidChangeNotification constant.

ObserveWillHideMenu(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillHideMenuNotification constant.

ObserveWillHideMenu(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillHideMenuNotification constant.

ObserveWillShowMenu(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillShowMenuNotification constant.

ObserveWillShowMenu(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillShowMenuNotification constant.

Applies to