CoreWebView2.FrameCreated Event
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.
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)
Use the Destroyed to listen for when this iframe goes away.