共用方式為


CoreWebView2Settings.IsPasswordAutofillEnabled Property

Definition

Determines whether password information will be saved and autofilled.

public bool IsPasswordAutofillEnabled { get; set; }
member this.IsPasswordAutofillEnabled : bool with get, set
Public Property IsPasswordAutofillEnabled As Boolean

Property Value

Remarks

When disabled, 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 enabled, 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.

Applies to