Shell.SetFlyoutItemIsVisible(BindableObject, Boolean) Method

Definition

Sets a value that determines if an object has a visible FlyoutItem in the flyout menu. Flyout items are visible in the flyout by default. However, an item can be hidden in the flyout with the FlyoutItemIsVisibleProperty.

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

Parameters

obj
BindableObject

The object that sets the visibility of flyout items.

isVisible
Boolean

true to set the flyout item as visible; otherwise, false.

Applies to