Page.PrefersStatusBarHidden Method

Definition

Sets a value that controls whether it is preferred that the status bar is shown, hidden, or relies on the system default.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::PlatformConfiguration::iOSSpecific::StatusBarHiddenMode PrefersStatusBarHidden(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::Page ^> ^ config);
public static Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.StatusBarHiddenMode PrefersStatusBarHidden (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.Page> config);
static member PrefersStatusBarHidden : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.Page> -> Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.StatusBarHiddenMode
<Extension()>
Public Function PrefersStatusBarHidden (config As IPlatformElementConfiguration(Of iOS, Page)) As StatusBarHiddenMode

Parameters

config
IPlatformElementConfiguration<iOS,Page>

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

Returns

A value that controls whether it is preferred that the status bar is shown, hidden, or relies on the system default.

Applies to