Compartir a través de


CoreWebView2Controller.AllowExternalDrop Property

Definition

Gets or sets the WebView allow external drop property.

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

Property Value

Examples

_iWebView2.AllowExternalDrop = !_iWebView2.AllowExternalDrop;

Remarks

The AllowExternalDrop is to configure the capability that dropping files into webview2 is allowed or permitted. The default value is true.

Applies to