Class XamlLessNavigationFailedEventArgs
- Namespace
- WindowSill.API
- Assembly
- WindowSill.API.dll
Provides event data for navigation failure events in XAML-less navigation scenarios. Contains information about the navigation exception and allows handlers to mark the event as handled.
public class XamlLessNavigationFailedEventArgs : EventArgs
- Inheritance
-
XamlLessNavigationFailedEventArgs
- Inherited Members
- Extension Methods
Properties
Exception
Gets the exception that caused the navigation to fail. Use this property to examine the specific error that occurred during navigation.
public Exception Exception { get; }
Property Value
Handled
Gets or sets a value indicating whether the navigation failure event has been handled.
Set this to true to prevent default error handling behavior from executing.
public bool Handled { get; set; }
Property Value
SourcePageType
Gets the type of the page that was being navigated to when the failure occurred. This can be used to identify which page type caused the navigation failure.
public Type SourcePageType { get; }