BeginLoadingFrameEventArgsIsMainFrame Property Awesomium.NET 1.7.6Awesomium.NET
Indicates if this is the main frame of the page.

Namespace: Awesomium.Core
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version:

public bool IsMainFrame { get; }

Property Value

Type: Boolean

Note Note
When a page is loaded, the main frame is usually the first to start being loaded.
If IsMainFrame is true during a BeginLoadingFrame event, it indicates a new navigation. When a BeginLoadingFrame with IsMainFrame set to true is not canceled, an BeginNavigation event is fired right after, allowing you to cancel the navigation.
Caution note Caution
Note that the BeginLoadingFrame event is called on the I/O Thread. Therefore, you should not make any calls to instances and members that are not thread-safe.
See Also