This documentation is archived and is not being maintained.

NavigationFailedEventArgs.Handled Property

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

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

public bool Handled { get; set; }
Members of this class are either not typically used in XAML, or cannot be used in XAML.

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: