Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NavigationFailedEventArgs::Handled Property

 

Gets or sets whether the failed navigation exception has been handled.

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

public:
property bool Handled {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the exception is handled; otherwise, false (default).

When you handle NavigationFailed to process an exception that is thrown as a result of a failed navigation, and you don't want WPF to continue processing the exception, you should set the Handled property to true.

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft