NavigatingCancelEventArgs.ContentStateToSave 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定 CustomContentState 與所瀏覽頁面回溯歷史條目相關聯的物件。
public:
property System::Windows::Navigation::CustomContentState ^ ContentStateToSave { System::Windows::Navigation::CustomContentState ^ get(); void set(System::Windows::Navigation::CustomContentState ^ value); };
public System.Windows.Navigation.CustomContentState ContentStateToSave { get; set; }
member this.ContentStateToSave : System.Windows.Navigation.CustomContentState with get, set
Public Property ContentStateToSave As CustomContentState
屬性值
CustomContentState與所瀏覽頁面的回溯歷史條目相關聯的物件。
備註
Navigating 事件會在從一個內容切換到另一個內容時被觸發。 所瀏覽的內容會被加入回溯導航歷史。 你可以用自訂ContentStateToSave物件設定CustomContentState,將狀態資訊與導航歷史中的內容關聯起來。