Application.FragmentNavigation 事件

定义

当应用程序中的导航器开始导航到内容片段时发生;如果所需片段位于当前内容中,则导航将立即发生;如果所需片段位于不同内容中,则加载源 XAML 内容后,将立即发生导航。

public:
 event System::Windows::Navigation::FragmentNavigationEventHandler ^ FragmentNavigation;
public event System.Windows.Navigation.FragmentNavigationEventHandler FragmentNavigation;
member this.FragmentNavigation : System.Windows.Navigation.FragmentNavigationEventHandler 
Public Custom Event FragmentNavigation As FragmentNavigationEventHandler 
Public Event FragmentNavigation As FragmentNavigationEventHandler 

事件类型

注解

导航器是 NavigationWindowFrame

请参阅 NavigationService.FragmentNavigation

适用于

另请参阅