NavigatingCancelEventArgs.ContentStateToSave Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the CustomContentState object that is associated with the back navigation history entry for the page being navigated from.
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
Property Value
The CustomContentState object that is associated with the back navigation history entry for the page being navigated from.
Remarks
Navigating event is raised when navigating from one piece of content to another. The content that is being navigated from is added to back navigation history. You can set ContentStateToSave with a custom CustomContentState object to associate state information with content in navigation history.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru