iOS Guides | Samples

MonoTouch.UIKit.UIMenuController.Notifications Class

Notification posted by the UIMenuController class.

See Also: UIMenuController+Notifications

Syntax

public static class 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.

Requirements

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

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

See Also: Object

Public Methods

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