Freigeben über


CoreWebView2ControllerOptions Class

Definition

Used to manage profile options that created by CreateCoreWebView2ControllerOptions().

public class CoreWebView2ControllerOptions
type CoreWebView2ControllerOptions = class
Public Class CoreWebView2ControllerOptions
Inheritance
CoreWebView2ControllerOptions

Properties

AllowHostInputProcessing

AllowHostInputProcessing property is to enable/disable input passing through the app before being delivered to the WebView2. This property is only applicable to controllers created with CoreWebView2Environment.CreateCoreWebView2ControllerAsync and not composition controllers created with CoreWebView2Environment.CreateCoreWebView2CompositionControllerAsync. By default the value is FALSE. Setting this property has no effect when using visual hosting. \snippet AppWindow.cpp AllowHostInputProcessing

IsInPrivateModeEnabled

Manage the controller's InPrivate mode.

LocaleRegion

Manages the value of the controller's locale region.

ProfileName

Manage the name of the controller's profile.

ScriptLocale

Manages the value of the controller's script locale.

Applies to