The plugin part WebView2
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
The plugin part MBS WinFrameworks Plugin:WebView2:
Not Console safe,
243 entry points.
- class WebView2CookieManagerMBS
- class WebView2CookieMBS
- class WebView2ExceptionMBS
- class WebView2PrintSettingsMBS
- class WebView2WindowFeaturesMBS
- control DesktopWebView2ControlMBS
- method SetVirtualHostNameToFolderMapping(hostName as String, folderPath as String, accessKind as Integer)
- method ClearVirtualHostNameToFolderMapping(hostName as String)
- method CreatePrintSettings as WebView2PrintSettingsMBS
- method Print
- method Copy
- method Cut
- method SelectAll
- method Paste
- method ClearSelection
- method AddWebResourceRequestedFilter(URL as String, resourceType as Integer)
- method RemoveWebResourceRequestedFilter(URL as String, resourceType as Integer)
- method CanGoForward as Boolean
- method CanGoBack as Boolean
- method Reload
- method Stop
- method OpenDevToolsWindow
- method GoBack
- method GoForward
- method LoadURL(URL as String)
- method LoadHTML(HTML as String)
- method AddScriptToExecuteOnDocumentCreated(JavaScript as String, tag as variant = nil)
- method RemoveScriptToExecuteOnDocumentCreated(ID as String
- method ExecuteScript(JavaScript as String, tag as variant = nil)
- method PostWebMessageAsJson(webMessageAsJson as String)
- method PostWebMessageAsString(webMessageAsString as String)
- method CapturePreview(ImageFormat as Integer = 0)
- method ExecuteScriptSync(JavaScript as String, byref ErrorCode as Integer) as String
- method HTMLText as String
- method PlainText as String
- method PrintToPdf(Path as String, PrintSettings as WebView2PrintSettingsMBS = nil)
- property URL as String
- property DocumentTitle as String
- property ContainsFullScreenElement as Boolean
- property DefaultBackgroundColor as Color
- property IsScriptEnabled as Boolean
- property AreDefaultScriptDialogsEnabled as Boolean
- property IsWebMessageEnabled as Boolean
- property IsStatusBarEnabled as Boolean
- property AreDevToolsEnabled as Boolean
- property AreDefaultContextMenusEnabled as Boolean
- property AreHostObjectsAllowed as Boolean
- property IsZoomControlEnabled as Boolean
- property IsBuiltInErrorPageEnabled as Boolean
- property UserAgent as String
- property areBrowserAcceleratorKeysEnabled as Boolean
- property IsPinchZoomEnabled as Boolean
- property IsPasswordAutosaveEnabled as Boolean
- property IsGeneralAutofillEnabled as Boolean
- property ProcessID as Integer
- property ZoomFactor as Double
- property BrowserVersionString as String
- property CookieManager as WebView2CookieManagerMBS
- property AdditionalBrowserArguments as String
- property Language as String
- property TargetCompatibleBrowserVersion as String
- property AllowSingleSignOnUsingOSPrimaryAccount as Boolean
- property BrowserExecutableFolder as String
- property UserDataFolder as String
- shared method AvailableCoreWebView2BrowserVersionString as string
- event MenuBarSelected
- event Configure
- event AddScriptToExecuteOnDocumentCreatedCompleted(JavaScript as String, ErrorCode as Integer, ID as String, Tag as Variant)
- event ExecuteScriptCompleted(JavaScript as String, ErrorCode as Integer, resultObjectAsJson as String, Tag as Variant)
- event NavigationStarting(URL as String, IsUserInitiated as Boolean, IsRedirected as Boolean, NavigationID as UInt64) as Boolean
- event NavigationCompleted(isSuccess as Boolean, ErrorStatus as Integer, NavigationID as UInt64)
- event ContentLoading(isErrorPage as Boolean, NavigationID as UInt64)
- event SourceChanged(isNewDocument as Boolean)
- event DocumentTitleChanged
- event WindowCloseRequested
- event WebMessageReceived(Source as String, webMessageAsJson as String, webMessageAsString as String)
- event HistoryChanged
- event PermissionRequested(URL as String, PermissionKind as Integer, IsUserInitiated as Boolean, byref State as Integer)
- event ProcessFailed(processFailedKind as Integer)
- event Opened
- event ZoomFactorChanged
- event ContainsFullScreenElementChanged
- event FocusReceived
- event FocusLost
- event FrameNavigationStarting(URL as String, IsUserInitiated as Boolean, IsRedirected as Boolean, NavigationID as UInt64) as Boolean
- event FrameNavigationCompleted(isSuccess as Boolean, ErrorStatus as Integer, NavigationID as UInt64)
- event CapturePreviewCompleted(ImageFormat as Integer, ErrorCode as Integer, PictureData as String)
- event NewWindowRequested(URL as String, IsUserInitiated as Boolean, WindowFeatures as WebView2WindowFeaturesMBS, byref NewWindow as Variant) as Boolean
- event PrintCompleted(Path as String, errorCode as Integer, isSuccessful as boolean)
- control WebView2ControlMBS
- method SetVirtualHostNameToFolderMapping(hostName as String, folderPath as String, accessKind as Integer)
- method ClearVirtualHostNameToFolderMapping(hostName as String)
- method CreatePrintSettings as WebView2PrintSettingsMBS
- method Print
- method Copy
- method Cut
- method SelectAll
- method Paste
- method ClearSelection
- method AddWebResourceRequestedFilter(URL as String, resourceType as Integer)
- method RemoveWebResourceRequestedFilter(URL as String, resourceType as Integer)
- method CanGoForward as Boolean
- method CanGoBack as Boolean
- method Reload
- method Stop
- method OpenDevToolsWindow
- method GoBack
- method GoForward
- method LoadURL(URL as String)
- method LoadHTML(HTML as String)
- method AddScriptToExecuteOnDocumentCreated(JavaScript as String, tag as variant = nil)
- method RemoveScriptToExecuteOnDocumentCreated(ID as String
- method ExecuteScript(JavaScript as String, tag as variant = nil)
- method PostWebMessageAsJson(webMessageAsJson as String)
- method PostWebMessageAsString(webMessageAsString as String)
- method CapturePreview(ImageFormat as Integer = 0)
- method ExecuteScriptSync(JavaScript as String, byref ErrorCode as Integer) as String
- method HTMLText as String
- method PlainText as String
- method PrintToPdf(Path as String, PrintSettings as WebView2PrintSettingsMBS = nil)
- property URL as String
- property DocumentTitle as String
- property ContainsFullScreenElement as Boolean
- property DefaultBackgroundColor as Color
- property IsScriptEnabled as Boolean
- property AreDefaultScriptDialogsEnabled as Boolean
- property IsWebMessageEnabled as Boolean
- property IsStatusBarEnabled as Boolean
- property AreDevToolsEnabled as Boolean
- property AreDefaultContextMenusEnabled as Boolean
- property AreHostObjectsAllowed as Boolean
- property IsZoomControlEnabled as Boolean
- property IsBuiltInErrorPageEnabled as Boolean
- property UserAgent as String
- property areBrowserAcceleratorKeysEnabled as Boolean
- property IsPinchZoomEnabled as Boolean
- property IsPasswordAutosaveEnabled as Boolean
- property IsGeneralAutofillEnabled as Boolean
- property ProcessID as Integer
- property ZoomFactor as Double
- property BrowserVersionString as String
- property CookieManager as WebView2CookieManagerMBS
- property AdditionalBrowserArguments as String
- property Language as String
- property TargetCompatibleBrowserVersion as String
- property AllowSingleSignOnUsingOSPrimaryAccount as Boolean
- property BrowserExecutableFolder as String
- property UserDataFolder as String
- shared method AvailableCoreWebView2BrowserVersionString as string
- event EnableMenuItems
- event Configure
- event AddScriptToExecuteOnDocumentCreatedCompleted(JavaScript as String, ErrorCode as Integer, ID as String, Tag as Variant)
- event ExecuteScriptCompleted(JavaScript as String, ErrorCode as Integer, resultObjectAsJson as String, Tag as Variant)
- event NavigationStarting(URL as String, IsUserInitiated as Boolean, IsRedirected as Boolean, NavigationID as UInt64) as Boolean
- event NavigationCompleted(isSuccess as Boolean, ErrorStatus as Integer, NavigationID as UInt64)
- event ContentLoading(isErrorPage as Boolean, NavigationID as UInt64)
- event SourceChanged(isNewDocument as Boolean)
- event DocumentTitleChanged
- event WindowCloseRequested
- event WebMessageReceived(Source as String, webMessageAsJson as String, webMessageAsString as String)
- event HistoryChanged
- event PermissionRequested(URL as String, PermissionKind as Integer, IsUserInitiated as Boolean, byref State as Integer)
- event ProcessFailed(processFailedKind as Integer)
- event Opened
- event ZoomFactorChanged
- event ContainsFullScreenElementChanged
- event GotFocus
- event LostFocus
- event FrameNavigationStarting(URL as String, IsUserInitiated as Boolean, IsRedirected as Boolean, NavigationID as UInt64) as Boolean
- event FrameNavigationCompleted(isSuccess as Boolean, ErrorStatus as Integer, NavigationID as UInt64)
- event CapturePreviewCompleted(ImageFormat as Integer, ErrorCode as Integer, PictureData as String)
- event NewWindowRequested(URL as String, IsUserInitiated as Boolean, WindowFeatures as WebView2WindowFeaturesMBS, byref NewWindow as Variant) as Boolean
- event PrintCompleted(Path as String, errorCode as Integer, isSuccessful as boolean)
Blog Entries
Videos
Xojo Developer Magazine