Class XamlLessNavigationEventArgs
- Namespace
- WindowSill.API
- Assembly
- WindowSill.API.dll
Provides event data for navigation events in XAML-less navigation scenarios. This class contains information about the navigation operation including the target content, source page type, navigation parameters, and the mode of navigation.
public class XamlLessNavigationEventArgs : EventArgs
- Inheritance
-
XamlLessNavigationEventArgs
- Derived
- Inherited Members
- Extension Methods
Properties
Content
Gets the content object that is being navigated to. This represents the target page or view instance that will be displayed after navigation.
public object? Content { get; }
Property Value
- object
The content object, or null if no content is available.
NavigationMode
Gets the mode of navigation that describes how the navigation was performed. This indicates whether the navigation was a forward navigation, back navigation, refresh, or other operation.
public NavigationMode NavigationMode { get; }
Property Value
- NavigationMode
A NavigationMode value indicating the type of navigation operation.
Parameter
Gets the parameter object passed during navigation. This parameter can contain data that needs to be passed from the source page to the target page.
public object? Parameter { get; }
Property Value
- object
The navigation parameter object, or null if no parameter was provided.
SourcePageType
Gets the type of the source page that initiated the navigation. This can be used to determine which page the navigation originated from.
public Type? SourcePageType { get; }
Property Value
- Type
The source page type, or null if the source is unknown or not applicable.