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

Properties​

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

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; }