Shell.OnBackButtonPressed メソッド

定義

[戻る] ボタンを押したことに応答して CurrentItem がポップされた場合、true を返します。

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

戻り値

System.Boolean

CurrentItemnull でなく、かつナビゲーション スタックの唯一の項目ではない場合、true

注釈

このメソッドは、ナビゲーションが完了する前に を返す場合があります。 (「PopAsync()」を参照)。

適用対象