CoreWebView2Controller.AllowExternalDrop Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.