次の方法で共有


NavigationPage.SetIsNavigationBarTranslucent Method

Definition

Overloads

SetIsNavigationBarTranslucent(BindableObject, Boolean)

Sets a Boolean value that controls whether the navigation bar on the platform-specific navigation page is translucent.

SetIsNavigationBarTranslucent(IPlatformElementConfiguration<iOS,NavigationPage>, Boolean)

Sets a Boolean value that controls whether the navigation bar on the platform-specific navigation page is translucent.

SetIsNavigationBarTranslucent(BindableObject, Boolean)

Source:
NavigationPage.cs
Source:
NavigationPage.cs

Sets a Boolean value that controls whether the navigation bar on the platform-specific navigation page is translucent.

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

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

value
Boolean

The new property value to assign.

Applies to

SetIsNavigationBarTranslucent(IPlatformElementConfiguration<iOS,NavigationPage>, Boolean)

Source:
NavigationPage.cs
Source:
NavigationPage.cs

Sets a Boolean value that controls whether the navigation bar on the platform-specific navigation page is translucent.

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

Parameters

config
IPlatformElementConfiguration<iOS,NavigationPage>

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

value
Boolean

The new property value to assign.

Returns

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

Applies to