CoreWebView2NewWindowRequestedEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Event args for the NewWindowRequested event.
public class CoreWebView2NewWindowRequestedEventArgs
public class CoreWebView2NewWindowRequestedEventArgs : EventArgs
public class CoreWebView2NewWindowRequestedEventArgs : System.ComponentModel.HandledEventArgs
type CoreWebView2NewWindowRequestedEventArgs = class
type CoreWebView2NewWindowRequestedEventArgs = class
inherit EventArgs
type CoreWebView2NewWindowRequestedEventArgs = class
inherit HandledEventArgs
Public Class CoreWebView2NewWindowRequestedEventArgs
Public Class CoreWebView2NewWindowRequestedEventArgs
Inherits EventArgs
Public Class CoreWebView2NewWindowRequestedEventArgs
Inherits HandledEventArgs
- Inheritance
-
CoreWebView2NewWindowRequestedEventArgs
- Inheritance
-
CoreWebView2NewWindowRequestedEventArgs
- Inheritance
-
CoreWebView2NewWindowRequestedEventArgs
Remarks
The event is fired when content inside WebView requested to a open a new window (through window.open() and so on.)
Properties
Handled |
Indicates whether the NewWindowRequested event is handled by host. |
IsUserInitiated |
|
Name |
Gets the name of the new window. |
NewWindow |
Gets the new window or sets a WebView as a result of the new window requested. |
OriginalSourceFrameInfo |
The frame info of the frame where the new window request originated. The
|
Uri |
Gets the target uri of the new window request. |
WindowFeatures |
Gets the window features specified by the |
Methods
GetDeferral() |
Gets a Deferral object and put the event into a deferred state. Use this to Complete the window open request at a later time. While this event is deferred the opener window returns a WindowProxy to an un-navigated window, which navigates when the deferral is complete. |