NavigationPage.DisableTranslucentNavigationBar Method

Definition

Makes the navigation bar opaque on the platform-specific element.

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

Parameters

config
IPlatformElementConfiguration<iOS,NavigationPage>

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

Returns

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

Applies to