Class FrameRequestedNavigationEventArgs
Fired when a renderer-initiated navigation is requested. Navigation may still be cancelled after the event is issued.
public sealed record FrameRequestedNavigationEventArgs : EventArgs, IEquatable<EventArgs>, IEquatable<FrameRequestedNavigationEventArgs>
- Inheritance
-
EventArgsFrameRequestedNavigationEventArgs
- Implements
-
IEquatable<EventArgs>
- Inherited Members
-
EventArgs.ToString()EventArgs.GetHashCode()EventArgs.Equals(EventArgs)EventArgs.<Clone>$()EventArgs.BiDiEventArgs.AdditionalDataEventArgs.AdditionalMessageData
Constructors
FrameRequestedNavigationEventArgs(FrameId, ClientNavigationReason, string, ClientNavigationDisposition)
Fired when a renderer-initiated navigation is requested. Navigation may still be cancelled after the event is issued.
public FrameRequestedNavigationEventArgs(FrameId FrameId, ClientNavigationReason Reason, string Url, ClientNavigationDisposition Disposition)
Parameters
FrameIdFrameIdId of the frame that is being navigated.
ReasonClientNavigationReasonThe reason for the navigation.
UrlstringThe destination URL for the requested navigation.
DispositionClientNavigationDispositionThe disposition for the navigation.
Properties
Disposition
The disposition for the navigation.
public ClientNavigationDisposition Disposition { get; init; }
Property Value
FrameId
Id of the frame that is being navigated.
public FrameId FrameId { get; init; }
Property Value
Reason
The reason for the navigation.
public ClientNavigationReason Reason { get; init; }
Property Value
Url
The destination URL for the requested navigation.
public string Url { get; init; }