Platforms to show: All Mac Windows Linux Cross-Platform

Back to DesktopWebView2ControlMBS control.

DesktopWebView2ControlMBS.IsBuiltInErrorPageEnabled as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebView2 MBS WinFrameworks Plugin 21.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The IsBuiltInErrorPageEnabled property is used to disable built in error page for navigation failure and render process failure.

It is true by default. When disabled, blank page will be shown when related error happens.
(Read and Write property)

DesktopWebView2ControlMBS.IsDocumentPlayingAudio as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebView2 MBS WinFrameworks Plugin 24.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Indicates whether any audio output from this web viewer is playing.

This property will be true if audio is playing even if IsMuted is true.
(Read only property)

DesktopWebView2ControlMBS.IsGeneralAutofillEnabled as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebView2 MBS WinFrameworks Plugin 21.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Whether autofill for information like names, street and email addresses, phone numbers, and arbitrary input is enabled.

This excludes password and credit card information. When IsGeneralAutofillEnabled is false, no suggestions appear, and no new information is saved. When IsGeneralAutofillEnabled is true, information is saved, suggestions appear and clicking on one will populate the form fields. The default value is true.

Needs WebView2 in version 1.0.902.49 or newer.
(Read and Write property)

DesktopWebView2ControlMBS.IsMuted as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebView2 MBS WinFrameworks Plugin 24.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Indicates or sets whether all audio output from this web viewer is muted or not.

Can be read and set.
(Read and Write property)

DesktopWebView2ControlMBS.IsPasswordAutosaveEnabled as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebView2 MBS WinFrameworks Plugin 21.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Whether autosave for password information is enabled.

The IsPasswordAutosaveEnabled property behaves independently of the IsGeneralAutofillEnabled property. When IsPasswordAutosaveEnabled is false, no new password data is saved and no Save/Update Password prompts are displayed. However, if there was password data already saved before disabling this setting, then that password information is auto-populated, suggestions are shown and clicking on one will populate the fields. When IsPasswordAutosaveEnabled is true, password information is auto-populated, suggestions are shown and clicking on one will populate the fields, new data is saved, and a Save/Update Password prompt is displayed. The default value is false.

Needs WebView2 in version 1.0.902.49 or newer.
(Read and Write property)

DesktopWebView2ControlMBS.IsPinchZoomEnabled as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebView2 MBS WinFrameworks Plugin 21.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Enable or disable pitch zoom.

Pinch-zoom, referred to as "Page Scale" zoom, is performed as a post-rendering step, it changes the page scale factor property and scales the surface the web page is rendered onto when user performs a pinch zooming action.

It does not change the layout but rather changes the viewport and clips the web content, the content outside of the viewport isn't visible onscreen and users can't reach this content using mouse.
The IsPinchZoomEnabled property enables or disables the ability of the end user to use a pinching motion on touch input enabled devices to scale the web content in the WebView2. It defaults to TRUE. When set to FALSE, the end user cannot pinch zoom after the next navigation. Disabling/Enabling IsPinchZoomEnabled only affects the end user's ability to use pinch motions and does not change the page scale factor. This API only affects the Page Scale zoom and has no effect on the existing browser zoom properties (IsZoomControlEnabled and ZoomFactor) or other end user mechanisms for zooming.

Needs WebView2 in version 1.0.902.49 or newer.
(Read and Write property)

DesktopWebView2ControlMBS.IsScriptEnabled as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebView2 MBS WinFrameworks Plugin 21.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Controls if JavaScript execution is enabled in all future navigations in the WebView.

This only affects scripts in the document; scripts injected with ExecuteScript will run even if script is disabled. It is true by default.
(Read and Write property)

DesktopWebView2ControlMBS.IsStatusBarEnabled as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebView2 MBS WinFrameworks Plugin 21.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
IsStatusBarEnabled controls whether the status bar will be displayed.

The status bar is usually displayed in the lower left of the WebView and shows things such as the URI of a link when the user hovers over it and other information. It is true by default.
(Read and Write property)

DesktopWebView2ControlMBS.IsSwipeNavigationEnabled as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebView2 MBS WinFrameworks Plugin 24.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Determines whether the end user to use swiping gesture on touch input enabled devices to navigate in WebView2.

Swiping gesture navigation on touch screen includes

  • Swipe left/right (swipe horizontally) to navigate to previous/next page in navigation history.
  • Pull to refresh (swipe vertically) the current page. (This feature is currently disabled by default in the browser, to enable in WebView2, set AdditionalBrowserArguments property with --pull-to-refresh switch).
It defaults to true. When set to false, the end user cannot swipe to navigate or pull to refresh. This API only affects the overscrolling navigation functionality and has no effect on the scrolling interaction used to explore the web content shown in WebView2.
(Read and Write property)

DesktopWebView2ControlMBS.IsWebMessageEnabled as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebView2 MBS WinFrameworks Plugin 21.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The IsWebMessageEnabled property is used when loading a new HTML document.

If set to true, communication from the host to the WebView's top level HTML document is allowed via PostWebMessageAsJson, PostWebMessageAsString, and window.chrome.webview's message event (see PostWebMessageAsJson documentation for details). Communication from the WebView's top level HTML document to the host is allowed via window.chrome.webview's postMessage function and add_WebMessageReceived method (see add_WebMessageReceived documentation for details). If set to false, then communication is disallowed. PostWebMessageAsJson and PostWebMessageAsString will fail with E_ACCESSDENIED and window.chrome.webview.postMessage will fail by throwing an instance of an Error object. It is true by default.
(Read and Write property)

DesktopWebView2ControlMBS.IsZoomControlEnabled as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebView2 MBS WinFrameworks Plugin 21.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The IsZoomControlEnabled property is used to prevent the user from impacting the zoom of the WebView.

It is true by default. When disabled, user will not be able to zoom using ctrl+/- or ctrl+mouse wheel, but the zoom can be set via ZoomFactor API.
(Read and Write property)

The items on this page are in the following plugins: MBS WinFrameworks Plugin.


The biggest plugin in space...