Page.PrefersStatusBarHidden 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 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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.