共用方式為


IWebView2.AllowExternalDrop Property

Definition

The AllowExternalDrop property for the WebView. This property directly exposes AllowExternalDrop, see its documentation for more info. Getting this property before the CoreWebView2Controller has been initialized will retrieve the last value which was set to it, or true (the default) if none has been. The most recent value set to this property before CoreWebView2Controller has been initialized will be set on it after initialization.

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

Property Value

Applies to