iOS Guides | Samples

MonoTouch.UIKit.UIMenuController.Notifications Class

Notification posted by the UIMenuController class.

See Also: UIMenuController+Notifications


public static class UIMenuController.Notifications


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.


Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions:

The members of MonoTouch.UIKit.UIMenuController.Notifications are listed below.

See Also: Object

Public Methods

ObserveDidHideMenu(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the UIMenuControllerDidHideMenuNotification notification is posted.
ObserveDidShowMenu(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the UIMenuControllerDidShowMenuNotification notification is posted.
ObserveMenuFrameDidChange(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Method that is called when a visible menu's frame changes.
ObserveWillHideMenu(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the UIMenuControllerWillHideMenuNotification notification is posted.
ObserveWillShowMenu(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the UIMenuControllerWillShowMenuNotification notification is posted.