共用方式為


IShellController.ProposeNavigation Method

Definition

public:
 bool ProposeNavigation(Microsoft::Maui::Controls::ShellNavigationSource source, Microsoft::Maui::Controls::ShellItem ^ item, Microsoft::Maui::Controls::ShellSection ^ shellSection, Microsoft::Maui::Controls::ShellContent ^ shellContent, System::Collections::Generic::IReadOnlyList<Microsoft::Maui::Controls::Page ^> ^ stack, bool canCancel);
public bool ProposeNavigation (Microsoft.Maui.Controls.ShellNavigationSource source, Microsoft.Maui.Controls.ShellItem item, Microsoft.Maui.Controls.ShellSection shellSection, Microsoft.Maui.Controls.ShellContent shellContent, System.Collections.Generic.IReadOnlyList<Microsoft.Maui.Controls.Page> stack, bool canCancel);
abstract member 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
Public Function ProposeNavigation (source As ShellNavigationSource, item As ShellItem, shellSection As ShellSection, shellContent As ShellContent, stack As IReadOnlyList(Of Page), canCancel As Boolean) As Boolean

Parameters

item
ShellItem
shellSection
ShellSection
shellContent
ShellContent
canCancel
Boolean

Returns

Applies to