Would it be possible to expose the settings of WebView2 in the GlobalWebView2Loader ?
Im interestd in enableling PasswordAutofill likie in GlobalWebView2Loader.Settings.IsPasswordAutofillEnabled := true;
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
expose the settings of WebView2 in the GlobalWebView2Loader ?
- salvadordf
- Posts: 4304
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: expose the settings of WebView2 in the GlobalWebView2Loader ?
Hi,
That property is available in TWVBrowserBase.IsGeneralAutofillEnabled and TWVBrowserBase.IsPasswordAutosaveEnabled.
First you need to call TWVBrowserBase.CreateBrowser and wait for the TWVBrowserBase.OnAfterCreated event before getting or setting those properties.
That property is available in TWVBrowserBase.IsGeneralAutofillEnabled and TWVBrowserBase.IsPasswordAutosaveEnabled.
First you need to call TWVBrowserBase.CreateBrowser and wait for the TWVBrowserBase.OnAfterCreated event before getting or setting those properties.