interface ICoreWebView2EnvironmentOptions8
interface ICoreWebView2EnvironmentOptions8
: public IUnknown
Additional options used to create WebView2 Environment.
Summary
Members | Descriptions |
---|---|
get_ScrollBarStyle | Gets the ScrollBarStyle property. |
put_ScrollBarStyle | The ScrollBar style being set on the WebView2 Environment. |
Applies to
Product | Introduced |
---|---|
WebView2 Win32 | N/A |
WebView2 Win32 Prerelease | 1.0.2526 |
Members
get_ScrollBarStyle
Gets the ScrollBarStyle
property.
public HRESULT get_ScrollBarStyle(COREWEBVIEW2_SCROLLBAR_STYLE * value)
put_ScrollBarStyle
The ScrollBar style being set on the WebView2 Environment.
public HRESULT put_ScrollBarStyle(COREWEBVIEW2_SCROLLBAR_STYLE value)
The default value is COREWEBVIEW2_SCROLLBAR_STYLE_DEFAULT
which specifies the default browser ScrollBar style. The color-scheme
CSS property needs to be set on the corresponding page to allow ScrollBar to follow light or dark theme. Please see color-scheme for how color-scheme
can be set. CSS styles that modify the ScrollBar applied on top of native ScrollBar styling that is selected with ScrollBarStyle
.
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour