다음을 통해 공유


Application.GetShouldPreserveKeyboardOnResume Method

Definition

Overloads

GetShouldPreserveKeyboardOnResume(BindableObject)

Returns a Boolean value that tells whether the keyboard state should be preserved when the application resumes.

GetShouldPreserveKeyboardOnResume(IPlatformElementConfiguration<Android,Application>)

Returns a Boolean value that tells whether the keyboard state should be preserved when the application resumes.

GetShouldPreserveKeyboardOnResume(BindableObject)

Source:
Application.cs
Source:
Application.cs

Returns a Boolean value that tells whether the keyboard state should be preserved when the application resumes.

public:
 static bool GetShouldPreserveKeyboardOnResume(Microsoft::Maui::Controls::BindableObject ^ element);
public static bool GetShouldPreserveKeyboardOnResume (Microsoft.Maui.Controls.BindableObject element);
static member GetShouldPreserveKeyboardOnResume : Microsoft.Maui.Controls.BindableObject -> bool
Public Function GetShouldPreserveKeyboardOnResume (element As BindableObject) As Boolean

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

Returns

Applies to

GetShouldPreserveKeyboardOnResume(IPlatformElementConfiguration<Android,Application>)

Source:
Application.cs
Source:
Application.cs

Returns a Boolean value that tells whether the keyboard state should be preserved when the application resumes.

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

Parameters

config
IPlatformElementConfiguration<Android,Application>

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

Returns

Applies to