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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.