DotNetBrowser Documentation
DotNetBrowser Documentation
DotNetBrowser API Reference
DotNetBrowser.Browser
IBrowser Interface
IBrowser Properties
AllFrames Property
Audio Property
Capture Property
CreatePopupHandler Property
DevTools Property
Dialogs Property
DragAndDrop Property
Engine Property
Favicon Property
FocusedFrame Property
InjectCssHandler Property
InjectJsHandler Property
JsDialogs Property
Keyboard Property
MainFrame Property
Mouse Property
Navigation Property
OpenPopupHandler Property
PrintHtmlContentHandler Property
PrintPdfContentHandler Property
Profile Property
RequestPrintHandler Property
SelectCertificateHandler Property
Settings Property
ShowContextMenuHandler Property
Size Property
StartDownloadHandler Property
TextFinder Property
Title Property
Touch Property
Url Property
UserAgent Property
Zoom Property
IBrowser
MainFrame Property
The main frame on the currently loaded web page, if it exists.
Namespace:
DotNetBrowser.Browser
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.12.0
Syntax
C#
Copy
IFrame
MainFrame
{
get
; }
Property Value
Type:
IFrame
The main frame on the currently loaded web page. Can be null if there is no main frame.
Exceptions
Exception
Condition
ObjectDisposedException
The
IBrowser
has already been disposed.
ConnectionClosedException
The connection to the Chromium engine is closed.
See Also
Reference
IBrowser Interface
DotNetBrowser.Browser Namespace
Copyright © 2022 TeamDev Ltd. All Rights Reserved.