NavigatedToEventArgs Class
Definition
Provides data for the Avalonia.Controls.Page.NavigatedTo event.
public class NavigatedToEventArgs
Constructors
| Name | Description |
|---|---|
| NavigatedToEventArgs | Initializes a new instance of the Avalonia.Controls.NavigatedToEventArgs class. |
NavigatedToEventArgs Constructor
Initializes a new instance of the Avalonia.Controls.NavigatedToEventArgs class.
public NavigatedToEventArgs(Avalonia.Controls.Page previousPage, Avalonia.Controls.NavigationType navigationType)
Parameters
previousPage Avalonia.Controls.Page
The page that was active before this navigation, or for the root page.
navigationType Avalonia.Controls.NavigationType
The type of navigation that triggered this event.
Properties
| Name | Description |
|---|---|
| NavigationType | Gets the type of navigation that triggered this event. |
| PreviousPage | Gets the page that was active before this navigation. |
NavigationType Property
Gets the type of navigation that triggered this event.
public Avalonia.Controls.NavigationType NavigationType { get; set; }
PreviousPage Property
Gets the page that was active before this navigation.
public Avalonia.Controls.Page PreviousPage { get; set; }