Application.GetShouldPreserveKeyboardOnResume Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The platform specific configuration that contains the element on which to perform the operation.