-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move platform info from GetStart tut to general platform page #3340
base: main
Are you sure you want to change the base?
Conversation
https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/?tabs=dotnetcsharp#102957106 -- update: in the PR for Prerelease, added a Release section/tabset. |
* .NET: [WebView2.DefaultBackgroundColor Property](/dotnet/api/microsoft.web.webview2.winforms.webview2.defaultbackgroundcolor) | ||
* Win32: [ICoreWebView2Controller2::DefaultBackgroundColor property (get](/microsoft-edge/webview2/reference/win32/icorewebview2controller2#get_defaultbackgroundcolor), [put)](/microsoft-edge/webview2/reference/win32/icorewebview2controller2#put_defaultbackgroundcolor) | ||
<!-- todo: relevant? | ||
* WinRT: [CoreWebView2Controller.DefaultBackgroundColor Property](https://learn.microsoft.com/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2controller#defaultbackgroundcolor) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is WinRT API Ref relevant; add this link? Only .NET & Win32 are listed.
Does the live article
https://learn.microsoft.com/microsoft-edge/webview2/get-started/winui2#setting-defaultbackgroundcolor
apply to WinRT? Article has 0 hits on "winrt".
WinRT: CoreWebView2Controller.DefaultBackgroundColor Property:
https://learn.microsoft.com/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2controller#defaultbackgroundcolor
--> | ||
<!-- | ||
todo: relevant? | ||
* .NET: [CoreWebView2Controller.DefaultBackgroundColor Property](https://learn.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2controller.defaultbackgroundcolor#microsoft-web-webview2-core-corewebview2controller-defaultbackgroundcolor) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this other .NET type member relevant, to add?
The article lists .NET WebView2.DefaultBackgroundColor
,
but there's also .NET CoreWebView2Controller.DefaultBackgroundColor
, add it?
.NET: CoreWebView2Controller.DefaultBackgroundColor Property
https://learn.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2controller.defaultbackgroundcolor#microsoft-web-webview2-core-corewebview2controller-defaultbackgroundcolor
the live article section that has a different .NET type member link (WebView2.DefaultBackgroundColor Property):
https://learn.microsoft.com/microsoft-edge/webview2/get-started/winui2#setting-defaultbackgroundcolor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll let others approve first, but from a TOC perspective, this LGTM. I like how this makes the sample articles more focused on samples only, and promotes hard to reach h2 sections into new platform-specific articles.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest putting Get Started above sample articles for all the platforms
Jan RelNotes promotion to Stable in Release:
Show WPF elements on top of the WebView2 layer (WebView2CompositionControl)
https://learn.microsoft.com/microsoft-edge/webview2/release-notes/?tabs=dotnetcsharp#show-wpf-elements-on-top-of-the-webview2-layer-webview2compositioncontrol
This PR was created to copy that section not into "Overview of APIs", but instead into the planned article WebView2 in WPF apps that's a general platform article for wv2 on WPF.
Rendered articles for review:
toc.yml
RelNotes
Release Notes for the WebView2 SDK > Set default background color on WebView2 initialization (DefaultBackgroundColor API)
Release Notes for the WebView2 SDK > 1.0.2957.106 > Promotions > Show WPF elements on top of the WebView2 layer (WebView2CompositionControl)
Release Notes for the WebView2 SDK > 1.0.3079-prerelease > Promotions > Show WPF elements on top of the WebView2 layer (WebView2CompositionControl)
Platforms and samples (toc bucket)
WebView2 in Win32 apps
WebView2 in WinUI 2 (UWP) apps
WebView2 in WinUI 3 (Windows App SDK) apps
WebView2 in WPF apps <-- motivation for PR
WebView2 in WinForms apps
WebView2 in HoloLens 2 Unity apps
AB#55761305