Shell.SetFlyoutBehavior(BindableObject, FlyoutBehavior) Method

Definition

Sets the behavior used to open the flyout when the given obj is presented.

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

Parameters

obj
BindableObject

The object that modifies the Shell behavior used to open the flyout.

value
FlyoutBehavior

The behavior used to open the flyout.

Remarks

The flyout can be accessed through the hamburger icon or by swiping from the side of the screen. However, this behavior can be changed by setting the FlyoutBehavior attached property.

Applies to