UIKit.UITextView.CurrentInputModeDidChangeNotification Property
Notification constant for CurrentInputModeDidChange

Syntax

[Foundation.Field("UITextInputCurrentInputModeDidChangeNotification", "UIKit")]
public static Foundation.NSString CurrentInputModeDidChangeNotification { 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 (UITextView.CurrentInputModeDidChangeNotification, (notification) => Console.WriteLine ("Received the notification UITextView", notification);

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

Requirements

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