Application.ShouldPreserveKeyboardOnResume Method

Definition

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::Application ^> ^ ShouldPreserveKeyboardOnResume(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::Application ^> ^ config, bool value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.Application> ShouldPreserveKeyboardOnResume (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.Application> config, bool value);
static member ShouldPreserveKeyboardOnResume : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.Application> * bool -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.Application>
<Extension()>
Public Function ShouldPreserveKeyboardOnResume (config As IPlatformElementConfiguration(Of Android, Application), value As Boolean) As IPlatformElementConfiguration(Of Android, Application)

Parameters

config
IPlatformElementConfiguration<Android,Application>

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

value
Boolean

The new property value to assign.

Returns

Applies to