NavigatingCancelEventArgs::ContentStateToSave Property
Gets and sets the CustomContentState object that is associated with the back navigation history entry for the page being navigated from.
Assembly: PresentationFramework (in PresentationFramework.dll)
public: property CustomContentState^ ContentStateToSave { CustomContentState^ get(); void set(CustomContentState^ value); }
Property Value
Type: System.Windows.Navigation::CustomContentState^The CustomContentState object that is associated with the back navigation history entry for the page being navigated from.
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.
Available since 3.0