CoreWebView2FrameKind Enum
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.
Specifies the frame kind used in CoreWebView2FrameInfo.
public enum CoreWebView2FrameKind
type CoreWebView2FrameKind =
Public Enum CoreWebView2FrameKind
- Inheritance
-
CoreWebView2FrameKind
Fields
Name | Value | Description |
---|---|---|
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 |
MainFrame | 1 | Indicates that the frame is a primary main frame(CoreWebView2). |
Iframe | 2 | Indicates that the frame is an iframe. |
Embed | 3 | Indicates that the frame is an embed element. |
Object | 4 | Indicates that the frame is an object element. |