Show / Hide Table of Contents

Class NavigationEventArgs

Provides data for navigation methods and event handlers that cannot cancel the navigation request.

Inheritance
System.Object
System.EventArgs
NavigationEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Navigation
Assembly: OpenSilver.dll
Syntax
public sealed class NavigationEventArgs : EventArgs

Constructors

| Improve this Doc View Source

NavigationEventArgs(Object, Uri)

Initializes a new instance of the NavigationEventArgs class, based on content and URI.

Declaration
public NavigationEventArgs(object content, Uri uri)
Parameters
Type Name Description
System.Object content

Initializes the Content property.

System.Uri uri

Initializes the Uri property.

Properties

| Improve this Doc View Source

Content

Gets the content of the target being navigated to.

Declaration
public object Content { get; }
Property Value
Type Description
System.Object

An object that represents the target content.

| Improve this Doc View Source

Uri

Gets the uniform resource identifier (URI) of the target.

Declaration
public Uri Uri { get; }
Property Value
Type Description
System.Uri

A value that represents the URI.

  • Improve this Doc
  • View Source