Skip to main content

NavigatedToEventArgs Class

Definition​

Assembly:Avalonia.Controls
Package:Avalonia

Provides data for the Avalonia.Controls.Page.NavigatedTo event.

public class NavigatedToEventArgs

Inheritance: EventArgs -> NavigatedToEventArgs

Constructors​

NameDescription
NavigatedToEventArgs (2 overloads)Initializes a new instance of the Avalonia.Controls.NavigatedToEventArgs class.

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.

public NavigatedToEventArgs(Avalonia.Controls.Page previousPage, Avalonia.Controls.NavigationType navigationType, object parameter)
Parameters​

previousPage Avalonia.Controls.Page

navigationType Avalonia.Controls.NavigationType

parameter object

Properties​

NameDescription
NavigationTypeGets the type of navigation that triggered this event.
ParameterNo summary available.
PreviousPageGets the page that was active before this navigation.

Gets the type of navigation that triggered this event.

public Avalonia.Controls.NavigationType NavigationType { get; set; }

Parameter Property​

public object Parameter { get; set; }

PreviousPage Property​

Gets the page that was active before this navigation.

public Avalonia.Controls.Page PreviousPage { get; set; }