Enum CoreWebView2FrameKind
Specifies the frame kind used in CoreWebView2FrameInfo.
public enum 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.
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
.