Shell.SetNavBarHasShadow(BindableObject, Boolean) Method

Definition

Controls whether the navigation bar has a shadow when the given obj is active. By default the value of the property is true on Android, and false on other platforms.

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

Parameters

obj
BindableObject

The object that modifies if the navigation bar has a shadow.

value
Boolean

Manages if the navigation bar has a shadow.

Applies to