Page.OnFragmentNavigation Method
Called when navigating to a fragment on a page.
Namespace: System.Windows.Controls
Assembly: System.Windows.Controls.Navigation (in System.Windows.Controls.Navigation.dll)
Parameters
- e
- Type: System.Windows.Navigation.FragmentNavigationEventArgs
An object that contains the event data.
The OnFragmentNavigation method is called when navigating to a uniform resource identifier (URI) that includes a fragment. A fragment is the value after the fragment delimiter (#). For example, when navigating within a frame, the URI /Views/AboutPage.xaml#contact specifies to navigate to the Silverlight page located at /Views/AboutPage.xaml and pass a fragment value of contact. You override the OnFragmentNavigation method to perform any actions when responding to a navigation request that includes a fragment.
Generally, use the OnFragmentNavigation method instead of creating an event handler for the FragmentNavigation event.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.