FragmentNavigationEventArgs.Fragment Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the uniform resource identifier (URI) fragment.
Namespace: System.Windows.Navigation
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
Public ReadOnly Property Fragment As String
public string Fragment { get; }
Property Value
Type: System..::.String
The URI fragment.
Remarks
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 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.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone
See Also
Reference
FragmentNavigationEventArgs Class
System.Windows.Navigation Namespace