Skip to main content

NavigatedFromEventArgs Class

Definition​

Assembly:Avalonia.Controls
Package:Avalonia

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

public class NavigatedFromEventArgs

Inheritance: EventArgs -> NavigatedFromEventArgs

Constructors​

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

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.

public NavigatedFromEventArgs(Avalonia.Controls.Page destinationPage, Avalonia.Controls.NavigationType navigationType, object parameter)
Parameters​

destinationPage Avalonia.Controls.Page

navigationType Avalonia.Controls.NavigationType

parameter object

Properties​

NameDescription
DestinationPageGets the page that became active after this navigation.
NavigationTypeGets the type of navigation that triggered this event.
ParameterNo summary available.

DestinationPage Property​

Gets the page that became active after this navigation.

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

Gets the type of navigation that triggered this event.

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

Parameter Property​

public object Parameter { get; set; }