ShellNavigatingEventArgs Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue Instanz der ShellNavigatingEventArgs Klasse.
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)
Parameter
- current
- ShellNavigationState
Der aktuelle Navigationszustand.
- target
- ShellNavigationState
Der Zielnavigationszustand.
- source
- ShellNavigationSource
Die Quelle der Navigation.
- canCancel
- Boolean
Gibt an, ob die Navigation abgebrochen werden kann.