Share via


ShellNavigationState Class

Definition

Represents the current navigation state of a Shell, expressed as a URI.

public ref class ShellNavigationState
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.ShellNavigationState+ShellNavigationStateTypeConverter))]
public class ShellNavigationState
public class ShellNavigationState
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.ShellNavigationState+ShellNavigationStateTypeConverter))>]
type ShellNavigationState = class
type ShellNavigationState = class
Public Class ShellNavigationState
Inheritance
ShellNavigationState
Attributes

Constructors

Name Description
ShellNavigationState()

Initializes a new instance of the ShellNavigationState class.

ShellNavigationState(String)

Initializes a new instance of the ShellNavigationState class with the specified location string.

ShellNavigationState(Uri)

Initializes a new instance of the ShellNavigationState class with the specified URI.

Properties

Name Description
Location

Gets the URI representing the current navigation location in the Shell.

Operators

Name Description
Implicit(String to ShellNavigationState)
Implicit(Uri to ShellNavigationState)

Applies to