ShellNavigatingEventArgs Konstruktor
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje nowe wystąpienie klasy ShellNavigatingEventArgs.
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)
Parametry
- current
- ShellNavigationState
Bieżący stan nawigacji.
- target
- ShellNavigationState
Stan nawigacji docelowej.
- source
- ShellNavigationSource
Źródło nawigacji.
- canCancel
- Boolean
Czy można anulować nawigację.