Compartilhar via


Application.SetShouldPreserveKeyboardOnResume(BindableObject, Boolean) Method

Definition

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