共用方式為


CoreWebView2ScriptDialogOpeningEventArgs.DefaultText Property

Definition

Gets the default value to use for the result of the prompt JavaScript function.

public string DefaultText { get; }
member this.DefaultText : string
Public ReadOnly Property DefaultText As String

Property Value

Remarks

This is the second parameter passed to the JavaScript prompt dialog.

Applies to