Partager via


Page.GetPrefersStatusBarHidden(BindableObject) Method

Definition

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

public:
 static Microsoft::Maui::Controls::PlatformConfiguration::iOSSpecific::StatusBarHiddenMode GetPrefersStatusBarHidden(Microsoft::Maui::Controls::BindableObject ^ element);
public static Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.StatusBarHiddenMode GetPrefersStatusBarHidden (Microsoft.Maui.Controls.BindableObject element);
static member GetPrefersStatusBarHidden : Microsoft.Maui.Controls.BindableObject -> Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.StatusBarHiddenMode
Public Function GetPrefersStatusBarHidden (element As BindableObject) As StatusBarHiddenMode

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

Returns

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

Applies to