Share via


ShellNavigatingEventArgs Constructor

Definition

Initializes a new instance of the ShellNavigatingEventArgs class.

public:
 ShellNavigatingEventArgs(Microsoft::Maui::Controls::ShellNavigationState ^ current, Microsoft::Maui::Controls::ShellNavigationState ^ target, Microsoft::Maui::Controls::ShellNavigationSource source, bool canCancel);
public ShellNavigatingEventArgs(Microsoft.Maui.Controls.ShellNavigationState current, Microsoft.Maui.Controls.ShellNavigationState target, Microsoft.Maui.Controls.ShellNavigationSource source, bool canCancel);
new Microsoft.Maui.Controls.ShellNavigatingEventArgs : Microsoft.Maui.Controls.ShellNavigationState * Microsoft.Maui.Controls.ShellNavigationState * Microsoft.Maui.Controls.ShellNavigationSource * bool -> Microsoft.Maui.Controls.ShellNavigatingEventArgs
Public Sub New (current As ShellNavigationState, target As ShellNavigationState, source As ShellNavigationSource, canCancel As Boolean)

Parameters

current
ShellNavigationState

The current navigation state.

target
ShellNavigationState

The target navigation state.

source
ShellNavigationSource

The source of the navigation.

canCancel
Boolean

Whether the navigation can be cancelled.

Applies to