NavigatedFromEventArgs Class
Definition
Provides data for the Avalonia.Controls.Page.NavigatedFrom event.
public class NavigatedFromEventArgs
Constructors
| Name | Description |
|---|---|
| NavigatedFromEventArgs (2 overloads) | Initializes a new instance of the Avalonia.Controls.NavigatedFromEventArgs class. |
NavigatedFromEventArgs overloads
NavigatedFromEventArgs Constructor
Initializes a new instance of the Avalonia.Controls.NavigatedFromEventArgs class.
public NavigatedFromEventArgs(Avalonia.Controls.Page destinationPage, Avalonia.Controls.NavigationType navigationType)
Parameters
destinationPage Avalonia.Controls.Page
The page that became active after this navigation, or when popping to root.
navigationType Avalonia.Controls.NavigationType
The type of navigation that triggered this event.
NavigatedFromEventArgs Constructor
public NavigatedFromEventArgs(Avalonia.Controls.Page destinationPage, Avalonia.Controls.NavigationType navigationType, object parameter)
Parameters
destinationPage Avalonia.Controls.Page
navigationType Avalonia.Controls.NavigationType
parameter object
Properties
| Name | Description |
|---|---|
| DestinationPage | Gets the page that became active after this navigation. |
| NavigationType | Gets the type of navigation that triggered this event. |
| Parameter | No summary available. |
DestinationPage Property
Gets the page that became active after this navigation.
public Avalonia.Controls.Page DestinationPage { get; set; }
NavigationType Property
Gets the type of navigation that triggered this event.
public Avalonia.Controls.NavigationType NavigationType { get; set; }
Parameter Property
public object Parameter { get; set; }