Shell.SetPresentationMode(BindableObject, PresentationMode) 方法

定义

设置使用该方法导航到时 Page 播放的 GoToAsync(ShellNavigationState, Boolean) 导航动画。

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

参数

obj
BindableObject

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

presentationMode
PresentationMode

定义导航页面时发生的导航动画。

适用于