NavigatingCancelEventArgs::ContentStateToSave Property

Gets and sets the CustomContentState object that is associated with the back navigation history entry for the page being navigated from.

Namespace:  System.Windows.Navigation
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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft