CoreWebView2.FrameCreated Event

Definition

FrameCreated is raised when a new iframe is created. Handle this event to get access to CoreWebView2Frame objects.

public event EventHandler<Microsoft.Web.WebView2.Core.CoreWebView2FrameCreatedEventArgs> FrameCreated;
member this.FrameCreated : EventHandler<Microsoft.Web.WebView2.Core.CoreWebView2FrameCreatedEventArgs> 
Public Custom Event FrameCreated As EventHandler(Of CoreWebView2FrameCreatedEventArgs) 

Event Type

Remarks

Use the Destroyed to listen for when this iframe goes away.

Applies to

See also