Export (0) Print
Expand All

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 CustomContentState ContentStateToSave { 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

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft