SilverlightHost.NavigationState Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets a URI fragment that represents the current navigation state.

Namespace:  System.Windows.Interop
Assembly:  System.Windows (in System.Windows.dll)

Syntax

Public Property NavigationState As String
public string NavigationState { get; set; }

Property Value

Type: System..::.String
A URI fragment that represents the current navigation state.

Exceptions

Exception Condition
ArgumentNullException

When setting this property, the specified value is nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

A URI fragment is the part of a URI that occurs after a pound sign (#).

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

SilverlightHost Class

System.Windows.Interop Namespace

Other Resources

In-app navigation for Windows Phone 8