Uredi

Deli z drugimi prek


NavigatingCancelEventArgs.ContentStateToSave Property

Definition

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