共用方式為


Shell.IShellController.ProposeNavigation Method

Definition

 virtual bool Microsoft.Maui.Controls.IShellController.ProposeNavigation(Microsoft::Maui::Controls::ShellNavigationSource source, Microsoft::Maui::Controls::ShellItem ^ shellItem, Microsoft::Maui::Controls::ShellSection ^ shellSection, Microsoft::Maui::Controls::ShellContent ^ shellContent, System::Collections::Generic::IReadOnlyList<Microsoft::Maui::Controls::Page ^> ^ stack, bool canCancel) = Microsoft::Maui::Controls::IShellController::ProposeNavigation;
bool IShellController.ProposeNavigation (Microsoft.Maui.Controls.ShellNavigationSource source, Microsoft.Maui.Controls.ShellItem shellItem, Microsoft.Maui.Controls.ShellSection shellSection, Microsoft.Maui.Controls.ShellContent shellContent, System.Collections.Generic.IReadOnlyList<Microsoft.Maui.Controls.Page> stack, bool canCancel);
abstract member Microsoft.Maui.Controls.IShellController.ProposeNavigation : Microsoft.Maui.Controls.ShellNavigationSource * Microsoft.Maui.Controls.ShellItem * Microsoft.Maui.Controls.ShellSection * Microsoft.Maui.Controls.ShellContent * System.Collections.Generic.IReadOnlyList<Microsoft.Maui.Controls.Page> * bool -> bool
override this.Microsoft.Maui.Controls.IShellController.ProposeNavigation : Microsoft.Maui.Controls.ShellNavigationSource * Microsoft.Maui.Controls.ShellItem * Microsoft.Maui.Controls.ShellSection * Microsoft.Maui.Controls.ShellContent * System.Collections.Generic.IReadOnlyList<Microsoft.Maui.Controls.Page> * bool -> bool
Function ProposeNavigation (source As ShellNavigationSource, shellItem As ShellItem, shellSection As ShellSection, shellContent As ShellContent, stack As IReadOnlyList(Of Page), canCancel As Boolean) As Boolean Implements IShellController.ProposeNavigation

Parameters

shellItem
ShellItem
shellSection
ShellSection
shellContent
ShellContent
canCancel
Boolean

Returns

Implements

Applies to