Shell.SetTabBarIsVisible(BindableObject, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the tabs visibility when the given obj
is active.
public:
static void SetTabBarIsVisible(Microsoft::Maui::Controls::BindableObject ^ obj, bool value);
public static void SetTabBarIsVisible (Microsoft.Maui.Controls.BindableObject obj, bool value);
static member SetTabBarIsVisible : Microsoft.Maui.Controls.BindableObject * bool -> unit
Public Shared Sub SetTabBarIsVisible (obj As BindableObject, value As Boolean)
Parameters
- obj
- BindableObject
The object that modifies the tabs visibility.
- value
- Boolean
true
to set the tab bar as visible; otherwise, false
.
Remarks
The tab bar and tabs are visible in Shell applications by default. However, the tab bar can be hidden by setting the Shell.TabBarIsVisible attached property to false. While this property can be set on a subclassed Shell object, it's typically set on any ShellContent or ContentPage objects that want to make the tab bar invisible.