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
NavigatedToEventArgsInitializes 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.

Properties​

NameDescription
NavigationTypeGets the type of navigation that triggered this event.
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; }

PreviousPage Property​

Gets the page that was active before this navigation.

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