Compartilhar via


Application.ShouldPreserveKeyboardOnResume Method

Definition

Sets a Boolean value that controls whether the keyboard state should be preserved when the application resumes.

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.Application> ShouldPreserveKeyboardOnResume (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.Application> config, bool value);
static member ShouldPreserveKeyboardOnResume : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.Application> * bool -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.Application>

Parameters

config
IPlatformElementConfiguration<Android,Application>

The platform specific configuration that contains the element on which to perform the operation.

value
System.Boolean

The new property value to assign.

Returns

Applies to