Language

CoreWebView2LaunchingExternalUriSchemeEventArgs Class

Definition

Event args for the LaunchingExternalUriScheme event.

public class CoreWebView2LaunchingExternalUriSchemeEventArgs : EventArgs
type CoreWebView2LaunchingExternalUriSchemeEventArgs = class
    inherit EventArgs
Public Class CoreWebView2LaunchingExternalUriSchemeEventArgs
Inherits EventArgs
Inheritance
CoreWebView2LaunchingExternalUriSchemeEventArgs

Properties

Name Description
Cancel

Determines whether to cancel the navigation.

Handled

The host may set this flag to true to prevent the LaunchingExternalUriScheme event from firing on the remaining ancestor CoreWebView2Frame objects and on the CoreWebView2. By default, the LaunchingExternalUriScheme event on the CoreWebView2Frame objects (innermost first) and the CoreWebView2 are all raised. Setting Handled has no effect when the event is raised on CoreWebView2. Defaults to false.

InitiatingOrigin

Gets the origin initiating the external URI scheme launch.

IsUserInitiated

true when the launching external URI scheme request was initiated through a user gesture.

Uri

Gets the URI with the external URI scheme to be launched.

Methods

Name Description
GetDeferral()

Gets a Deferral object and puts the event into a deferred state. Use this to Complete the launching external URI scheme request at a later time.

Applies to