Table of Contents

Class NavigationEventArgs

Namespace
Icy.Navigation
Assembly
IcyUI.dll

Carries the pages involved in a navigation, and lets a handler veto it before it takes effect.

public class NavigationEventArgs : CancelEventArgs
Inheritance
NavigationEventArgs
Inherited Members
Extension Methods

Remarks

The same instance is passed to OnNavigatedFrom(object, NavigationEventArgs) and OnNavigatedTo(object, NavigationEventArgs) for one navigation, so both sides see the same PreviousPage/NextPage pair.

Constructors

NavigationEventArgs(Page?, Page?)

Carries the pages involved in a navigation, and lets a handler veto it before it takes effect.

public NavigationEventArgs(Page? previousPage, Page? nextPage)

Parameters

previousPage Page

The page navigated away from, or null if the frame had none yet.

nextPage Page

The page navigated to.

Remarks

The same instance is passed to OnNavigatedFrom(object, NavigationEventArgs) and OnNavigatedTo(object, NavigationEventArgs) for one navigation, so both sides see the same PreviousPage/NextPage pair.

Properties

NextPage

Gets the page navigated to.

public Page? NextPage { get; }

Property Value

Page

PreviousPage

Gets the page navigated away from, or null if the frame had none yet.

public Page? PreviousPage { get; }

Property Value

Page