Shell.OnBackButtonPressed 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
若在按后退按钮后弹出了 CurrentItem,将返回 true
。
protected override bool OnBackButtonPressed ();
override this.OnBackButtonPressed : unit -> bool
返回
System.Boolean
若 CurrentItem 非 null
并且不是导航堆栈中仅有的项,则为 true
。
注解
此方法可能会在导航完成之前返回。 (请参阅PopAsync().)