Shell.SetFlyoutBehavior(BindableObject, FlyoutBehavior) 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 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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.