UIKit.UIWindow.KeyboardWillChangeFrameNotification Property
Notification constant for KeyboardWillChangeFrame

Syntax

[Foundation.Field("UIKeyboardWillChangeFrameNotification", "UIKit")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
[get: ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
public static Foundation.NSString KeyboardWillChangeFrameNotification { get; }

Value

NSString constant, should be used as a token to NSNotificationCenter.

Remarks

This constant can be used with the Foundation.NSNotificationCenter to register a listener for this notification.

C# Example

// Lambda style
NSNotificationCenter.DefaultCenter.AddObserver (UIWindow.KeyboardWillChangeFrameNotification, (notification) => Console.WriteLine ("Received the notification UIWindow", notification);


// Method style
void Callback (NSNotification notification)
{
    Console.WriteLine ("Received a notification UIWindow", notification);
}
void Setup ()
{
    NSNotificationCenter.DefaultCenter.AddObserver (UIWindow.KeyboardWillChangeFrameNotification, Callback);
}

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0