NavigationEntryStateChangedEventArgs class

Namespace Runic.Navigation in Runic.Navigation 0.23.0

public sealed class NavigationEntryStateChangedEventArgs : EventArgs

Inherits or implements EventArgs.

Constructors

NavigationEntryStateChangedEventArgs

public NavigationEntryStateChangedEventArgs(NavigationEntryState previousState, NavigationEntryState state, NavigationOperation operation)

Creates the data of one state change.

Parameters

previousState

The state before the change.

state

The state after the change.

operation

The operation that caused the change.

Properties

Operation

public NavigationOperation Operation { get; }

Gets the operation that caused the change: the committed transition's operation; for a pending entry whose transition did not commit, that transition's operation; NavigationOperation.Reset when an initial target becomes current; NavigationOperation.Clear when the entry's region closed.

PreviousState

public NavigationEntryState PreviousState { get; }

Gets the state before the change.

State

public NavigationEntryState State { get; }

Gets the state after the change.