共用方式為


NavigationManager.SetNavigationLockState(Boolean) 方法

定義

設定導覽目前是否鎖定。 如果是,則除非實作先呼叫 來確認流覽,否則實作不應該更新 Uri 並呼叫 NotifyLocationChanged(Boolean)NotifyLocationChangingAsync(String, String, Boolean)

protected virtual void SetNavigationLockState (bool value);
abstract member SetNavigationLockState : bool -> unit
override this.SetNavigationLockState : bool -> unit
Protected Overridable Sub SetNavigationLockState (value As Boolean)

參數

value
Boolean

巡覽目前是否已鎖定。

適用於