FragmentNavigationEventArgs.Fragment Property

Gets the uniform resource identifier (URI) fragment.

Namespace:  System.Windows.Navigation
Assembly:  System.Windows.Controls.Navigation (in System.Windows.Controls.Navigation.dll)

public string Fragment { get; }

Property Value

Type: System.String
The URI fragment.

The Fragment property contains the value of the URI fragment in a navigation request. 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. Fragment values are typically used to request that the page be displayed in a particular state.


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions