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)

member ContentStateToSave : CustomContentState with get, set

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
Available since 3.0
Return to top
Show: