Share via


Page.SetPrefersHomeIndicatorAutoHidden Method

Definition

Overloads

SetPrefersHomeIndicatorAutoHidden(BindableObject, Boolean)

Sets a value that indicates whether the visual indicator should hide upon returning to the home screen.

SetPrefersHomeIndicatorAutoHidden(IPlatformElementConfiguration<iOS,Page>, Boolean)

Sets a Boolean that indicates whether is allowed to hide the visual indicator for returning to the Home Screen.

SetPrefersHomeIndicatorAutoHidden(BindableObject, Boolean)

Source:
Page.cs
Source:
Page.cs

Sets a value that indicates whether the visual indicator should hide upon returning to the home screen.

public:
 static void SetPrefersHomeIndicatorAutoHidden(Microsoft::Maui::Controls::BindableObject ^ element, bool value);
public static void SetPrefersHomeIndicatorAutoHidden (Microsoft.Maui.Controls.BindableObject element, bool value);
static member SetPrefersHomeIndicatorAutoHidden : Microsoft.Maui.Controls.BindableObject * bool -> unit
Public Sub SetPrefersHomeIndicatorAutoHidden (element As BindableObject, value As Boolean)

Parameters

element
BindableObject

A page, the VisualElement that occupies the entire screen.

value
Boolean

true if hide the home indicator; otherwise, false.

Applies to

SetPrefersHomeIndicatorAutoHidden(IPlatformElementConfiguration<iOS,Page>, Boolean)

Source:
Page.cs
Source:
Page.cs

Sets a Boolean that indicates whether is allowed to hide the visual indicator for returning to the Home Screen.

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

Parameters

config
IPlatformElementConfiguration<iOS,Page>

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

value
Boolean

true if hide the home indicator; otherwise, false.

Returns

The updated configuration object on which developers can make successive method calls.

Applies to