共用方式為


CoreWebView2EnvironmentOptions.ScrollBarStyle Property

Definition

public Microsoft.Web.WebView2.Core.CoreWebView2ScrollbarStyle ScrollBarStyle { get; set; }
member this.ScrollBarStyle : Microsoft.Web.WebView2.Core.CoreWebView2ScrollbarStyle with get, set
Public Property ScrollBarStyle As CoreWebView2ScrollbarStyle

Property Value

Remarks

The default is CoreWebView2ScrollbarStyle.Default which specifies the default browser ScrollBar style. CSS styles that modify the ScrollBar applied on top of native ScrollBar styling that is selected with CoreWebView2ScrollbarStyle.

Applies to