通过


NavigationWindow.NavigationService 属性

定义

NavigationService获取此NavigationWindow服务用于向其内容提供导航服务。

public:
 property System::Windows::Navigation::NavigationService ^ NavigationService { System::Windows::Navigation::NavigationService ^ get(); };
public System.Windows.Navigation.NavigationService NavigationService { get; }
member this.NavigationService : System.Windows.Navigation.NavigationService
Public ReadOnly Property NavigationService As NavigationService

属性值

NavigationWindow服务的导航服务。

注解

NavigationWindow 使用 a NavigationService 向托管的内容 NavigationWindow提供导航服务。 该 NavigationService 属性对于自定义 NavigationWindow 中的代码非常有用,用于获取对 NavigationService导航事件的引用,例如。

托管 的内容(如 )应使用 方法或属性来获取对 &a0> 的 引用。

适用于