NavigatingCancelEventArgs.TargetContentState Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the CustomContentState object that is to be applied to the content being navigated to.

Namespace:   System.Windows.Navigation
Assembly:  PresentationFramework (in PresentationFramework.dll)

public CustomContentState TargetContentState { get; }

Property Value

Type: System.Windows.Navigation.CustomContentState

The CustomContentState object that is to be applied to the content being navigated to.

TargetContentState will contain a CustomContentState object if navigating to content in back or forward navigation history that has a CustomContentState object associated with it.

.NET Framework
Available since 3.0
Return to top
Show: