Application.SetShouldPreserveKeyboardOnResume(BindableObject, Boolean) 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.
Sets a Boolean value that controls whether the keyboard state should be preserved when the application resumes.
public:
static void SetShouldPreserveKeyboardOnResume(Microsoft::Maui::Controls::BindableObject ^ element, bool value);
public static void SetShouldPreserveKeyboardOnResume (Microsoft.Maui.Controls.BindableObject element, bool value);
static member SetShouldPreserveKeyboardOnResume : Microsoft.Maui.Controls.BindableObject * bool -> unit
Public Sub SetShouldPreserveKeyboardOnResume (element As BindableObject, value As Boolean)
Parameters
- element
- BindableObject
The platform specific element on which to perform the operation.
- value
- Boolean
The new property value to assign.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.