UIKit.UIViewController.DisablesAutomaticKeyboardDismissal Property
If true, input view will remain on-screen even when non-input control is tapped.

Syntax

[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_4_3)]
[get: Foundation.Export("disablesAutomaticKeyboardDismissal")]
[get: ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_4_3)]
public virtual bool DisablesAutomaticKeyboardDismissal { get; }

See Also

UIKit.UIModalPresentationStyle.UIModalPresentationStyle.FormSheet

Value

The default value is false unless using a modal form sheet, in which case it is true.

Remarks

The input view (generally the system keyboard) typically disappears when the application user taps on a control which does not reqire the input view. Application developers can override this method so that it returns true, leaving the input view on the screen in that situation.

If the UIViewController.ModalPresentationStyle property is set to UIModalPresentationStyle.FormSheet, the default value for this method is true. That is, by default the system leaves the input view on-screen when presenting modal forms.

Requirements

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