Shell.OnBackButtonPressed 方法

定义

若在按后退按钮后弹出了 CurrentItem,将返回 true

protected override bool OnBackButtonPressed ();
override this.OnBackButtonPressed : unit -> bool

返回

CurrentItemnull并且不是导航堆栈中仅有的项,则为 true

注解

此方法可能会在导航完成之前返回。 (请参阅PopAsync().)

适用于