CoreWebView2FrameKind Enum

Definition

Specifies the frame kind used in CoreWebView2FrameInfo.

public enum CoreWebView2FrameKind
type CoreWebView2FrameKind = 
Public Enum CoreWebView2FrameKind
Inheritance
CoreWebView2FrameKind

Fields

Embed 3

Indicates that the frame is an embed element.

Iframe 2

Indicates that the frame is an iframe.

MainFrame 1

Indicates that the frame is a primary main frame(CoreWebView2).

Object 4

Indicates that the frame is an object element.

Other 0

Indicates that the frame is a kind we don't differentiate yet.

Unknown 0

Indicates that the frame is an unknown type frame. We may extend this enum type to identify more frame kinds in the future. For example, if portal frame which current in experimental phase gets finalized, we may extend this to include a new frame kind COREWEBVIEW2_FRAME_KIND_PORTAL.

Applies to