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 ?

Post Reply
2eck
Posts: 1
Joined: Thu Apr 11, 2024 10:12 am

expose the settings of WebView2 in the GlobalWebView2Loader ?

Post by 2eck »

Would it be possible to expose the settings of WebView2 in the GlobalWebView2Loader ?

Im interestd in enableling PasswordAutofill likie in GlobalWebView2Loader.Settings.IsPasswordAutofillEnabled := true;
User avatar
salvadordf
Posts: 4059
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: expose the settings of WebView2 in the GlobalWebView2Loader ?

Post by salvadordf »

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.
Post Reply