Shell.GetPresentationMode(BindableObject) 方法

定义

获取使用 GoToAsync(ShellNavigationState, Boolean) 该方法导航到页面时发生的导航动画。

public:
 static Microsoft::Maui::Controls::PresentationMode GetPresentationMode(Microsoft::Maui::Controls::BindableObject ^ obj);
public static Microsoft.Maui.Controls.PresentationMode GetPresentationMode (Microsoft.Maui.Controls.BindableObject obj);
static member GetPresentationMode : Microsoft.Maui.Controls.BindableObject -> Microsoft.Maui.Controls.PresentationMode
Public Shared Function GetPresentationMode (obj As BindableObject) As PresentationMode

参数

obj
BindableObject

修改选项卡可见性的对象。

返回

导航到页面时发生的导航动画。

适用于