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.
Returns
Applies to
.NET MAUI
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기