ShellNavigatingEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.