次の方法で共有


CoreWebView2.DefaultDownloadDialogMargin Property

Definition

The default download dialog margin relative to the WebView corner specified by DefaultDownloadDialogCornerAlignment.

public System.Drawing.Point DefaultDownloadDialogMargin { get; set; }
member this.DefaultDownloadDialogMargin : System.Drawing.Point with get, set
Public Property DefaultDownloadDialogMargin As Point

Property Value

Remarks

The margin is a point that describes the vertical and horizontal distances between the chosen WebView corner and the default download dialog corner nearest to it. Positive values move the dialog towards the center of the WebView from the chosen WebView corner, and negative values move the dialog away from it. Use (0, 0) to align the dialog to the WebView corner with no margin. The corner alignment and margin should be set during initialization to ensure that they are correctly applied when the layout is first computed, otherwise they will not take effect until the next time the WebView position or size is updated.

Applies to