Share via


Application.UseWindowSoftInputModeAdjust Method

Definition

Sets a value that controls whether the soft input mode of the provided platform configuration pans or resizes its content to allow the display of the on-screen input UI.

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

Parameters

config
IPlatformElementConfiguration<Android,Application>

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

value
WindowSoftInputModeAdjust

The new property value to assign.

Returns

A value that controls whether the soft input mode of the provided platform configuration pans or resizes its content to allow the display of the on-screen input UI.

Applies to