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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.