IWebViewControl2 Interface
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.
Provides a control that hosts HTML content in an app. This interface requires IWebViewControl.
public interface class IWebViewControl2
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.Guid(1295779577, 51423, 16844, 139, 213, 42, 148, 123, 32, 69, 3)]
struct IWebViewControl2
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.Guid(1295779577, 51423, 16844, 139, 213, 42, 148, 123, 32, 69, 3)]
public interface IWebViewControl2
Public Interface IWebViewControl2
- Derived
- Attributes
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
Remarks
The WebViewControl
class allows Win32 apps to display web content using the same underlying infrastructure as the UWP WebView.
Methods
AddInitializeScript(String) |
Injects a script into the IWebViewControl just after ContentLoading but before any other script is run on the page. |