Fragment Property
Collapse the table of content
Expand the table of content

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)

'Declaration
Public ReadOnly Property Fragment As String

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 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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft