Skip to content

Commit 9d11dbe

Browse files
committed
create 2 new sections, move to
1 parent f6c1336 commit 9d11dbe

1 file changed

Lines changed: 62 additions & 26 deletions

File tree

  • microsoft-edge/webview2/release-notes

microsoft-edge/webview2/release-notes/index.md

Lines changed: 62 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -80,62 +80,102 @@ The following Experimental APIs have been added in this Prerelease SDK.
8080

8181

8282
<!-- ---------- -->
83-
###### Show WPF elements on top of the WebView2 layer (WebView2CompositionControl)
83+
###### DefaultBackgroundColor API<!-- todo: feature-oriented heading -->
8484

85-
The `WebView2CompositionControl` prevents the WebView2 control from being the topmost layer in a WPF app and obscuring any WPF elements. `Microsoft.Web.WebView2.Wpf.WebView2CompositionControl` is a drop-in replacement for the standard WPF WebView2 control. Both the WebView2 control and `WebView2CompositionControl` implement the `Microsoft.Web.WebView2.Wpf.IWebView2` interface. Both of them derive from `FrameworkElement`, as follows:
86-
* `FrameworkElement` -> `HwndHost` -> `WebView2`.
87-
* `FrameworkElement` -> `Control` -> `WebView2CompositionControl`.
85+
<!-- todo: lead-in - https://github.com/MicrosoftEdge/WebView2Feedback/pull/4981/files -->
8886

89-
Background: If you're building a Windows Presentation Foundation (WPF) app and using the WebView2 control, you may find that your app runs into "airspace" issues, where the WebView2 control is always displayed on top, hiding any WPF elements in the same location, even if you try to specify the WPF elements to be above the WebView2 control (using visual tree order or the z-index property, for example).
87+
##### [.NET/C#](#tab/dotnetcsharp)
9088

91-
This issue occurs because the WPF control uses the WPF `HwndHost` to host the Win32 WebView2 control, and `HwndHost` has an issue with airspace; see [Mitigating Airspace Issues In WPF Applications](https://dwayneneed.github.io/wpf/2013/02/26/mitigating-airspace-issues-in-wpf-applications.html).
92-
<!-- [PR 4804: WPF Airspace - WebView2CompositionControl](https://github.com/MicrosoftEdge/WebView2Feedback/pull/4804/files) -->
89+
* `CoreWebView2ControllerOptions` Class:
90+
* [CoreWebView2ControllerOptions.DefaultBackgroundColor Property](/dotnet/api/microsoft.web.webview2.core.corewebview2controlleroptions.defaultbackgroundcolor?view=webview2-dotnet-1.0.3079-prerelease&preserve-view=true)
9391

94-
##### [.NET/C#](#tab/dotnetcsharp)
92+
##### [WinRT/C#](#tab/winrtcsharp)
9593

96-
* [CoreWebView2ControllerOptions.DefaultBackgroundColor Property](/dotnet/api/microsoft.web.webview2.core.corewebview2controlleroptions.defaultbackgroundcolor?view=webview2-dotnet-1.0.3079-prerelease&preserve-view=true)
94+
* [CoreWebView2ControllerOptions Class](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2controlleroptions?view=webview2-winrt-1.0.3079-prerelease&preserve-view=true)
95+
* [CoreWebView2ControllerOptions.DefaultBackgroundColor Property](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2controlleroptions?view=webview2-winrt-1.0.3079-prerelease&preserve-view=true#defaultbackgroundcolor)
9796

98-
* [CoreWebView2Frame.FrameCreated Event](/dotnet/api/microsoft.web.webview2.core.corewebview2frame.framecreated?view=webview2-dotnet-1.0.3079-prerelease&preserve-view=true)
97+
##### [Win32/C++](#tab/win32cpp)
9998

100-
##### [WinRT/C#](#tab/winrtcsharp)
99+
* [ICoreWebView2ExperimentalControllerOptions3](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalcontrolleroptions3?view=webview2-1.0.3079-prerelease&preserve-view=true)
100+
* [ICoreWebView2ExperimentalControllerOptions3::get_DefaultBackgroundColor](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalcontrolleroptions3?view=webview2-1.0.3079-prerelease&preserve-view=true#get_defaultbackgroundcolor)
101+
* [ICoreWebView2ExperimentalControllerOptions3::put_DefaultBackgroundColor](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalcontrolleroptions3?view=webview2-1.0.3079-prerelease&preserve-view=true#put_defaultbackgroundcolor)
101102

102-
* [CoreWebView2 Class](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2?view=webview2-winrt-1.0.3079-prerelease&preserve-view=true)
103+
---
103104

104-
* [CoreWebView2CompositionController Class](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2compositioncontroller?view=webview2-winrt-1.0.3079-prerelease&preserve-view=true)
105105

106-
* [CoreWebView2ControllerOptions Class](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2controlleroptions?view=webview2-winrt-1.0.3079-prerelease&preserve-view=true)
107-
* [CoreWebView2ControllerOptions.DefaultBackgroundColor Property](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2controlleroptions?view=webview2-winrt-1.0.3079-prerelease&preserve-view=true#defaultbackgroundcolor)
106+
<!-- ---------- -->
107+
###### FrameCreatedEvent API<!-- todo: feature-oriented heading -->
108+
109+
<!-- todo: lead-in - https://github.com/MicrosoftEdge/WebView2Feedback/pull/4982 -->
110+
111+
##### [.NET/C#](#tab/dotnetcsharp)
112+
113+
* [CoreWebView2Frame Class](/dotnet/api/microsoft.web.webview2.core.corewebview2frame?view=webview2-dotnet-1.0.3079-prerelease&preserve-view=true)
114+
* [CoreWebView2Frame.FrameCreated Event](/dotnet/api/microsoft.web.webview2.core.corewebview2frame.framecreated?view=webview2-dotnet-1.0.3079-prerelease&preserve-view=true)
115+
<!-- todo: .Stop Property, like WinRT has? -->
116+
117+
##### [WinRT/C#](#tab/winrtcsharp)
108118

109119
* [CoreWebView2Frame Class](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2frame?view=webview2-winrt-1.0.3079-prerelease&preserve-view=true)
110120
* [CoreWebView2Frame.FrameCreated Event](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2frame?view=webview2-winrt-1.0.3079-prerelease&preserve-view=true#framecreated)
111121
* [CoreWebView2Frame.Stop Property](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2frame?view=webview2-winrt-1.0.3079-prerelease&preserve-view=true#stop)
112122

113123
##### [Win32/C++](#tab/win32cpp)
114124

115-
* [ICoreWebView2ExperimentalControllerOptions3](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalcontrolleroptions3?view=webview2-1.0.3079-prerelease&preserve-view=true)
116-
* [ICoreWebView2ExperimentalControllerOptions3::get_DefaultBackgroundColor](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalcontrolleroptions3?view=webview2-1.0.3079-prerelease&preserve-view=true#get_defaultbackgroundcolor)
117-
* [ICoreWebView2ExperimentalControllerOptions3::put_DefaultBackgroundColor](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalcontrolleroptions3?view=webview2-1.0.3079-prerelease&preserve-view=true#put_defaultbackgroundcolor)
118-
119125
* [ICoreWebView2ExperimentalFrame8](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalframe8?view=webview2-1.0.3079-prerelease&preserve-view=true)
120126
* [ICoreWebView2ExperimentalFrame8::add_FrameCreated](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalframe8?view=webview2-1.0.3079-prerelease&preserve-view=true#add_framecreated)
121127
* [ICoreWebView2ExperimentalFrame8::remove_FrameCreated](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalframe8?view=webview2-1.0.3079-prerelease&preserve-view=true#remove_framecreated)
128+
<!-- todo: add Stop Property, like WinRT has? event, or property? -->
122129

123130
* [ICoreWebView2ExperimentalFrameChildFrameCreatedEventHandler](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalframechildframecreatedeventhandler?view=webview2-1.0.3079-prerelease&preserve-view=true)
124131

125132
---
126133

127134

128135
<!-- ---------- -->
129-
###### Programmatically control Find operations (WebView2Find API)
136+
###### Show WPF elements on top of the WebView2 layer (WebView2CompositionControl)
137+
138+
The `WebView2CompositionControl` prevents the WebView2 control from being the topmost layer in a WPF app and obscuring any WPF elements. `Microsoft.Web.WebView2.Wpf.WebView2CompositionControl` is a drop-in replacement for the standard WPF WebView2 control. Both the WebView2 control and `WebView2CompositionControl` implement the `Microsoft.Web.WebView2.Wpf.IWebView2` interface. Both of them derive from `FrameworkElement`, as follows:
139+
* `FrameworkElement` -> `HwndHost` -> `WebView2`.
140+
* `FrameworkElement` -> `Control` -> `WebView2CompositionControl`.
141+
142+
Background: If you're building a Windows Presentation Foundation (WPF) app and using the WebView2 control, you may find that your app runs into "airspace" issues, where the WebView2 control is always displayed on top, hiding any WPF elements in the same location, even if you try to specify the WPF elements to be above the WebView2 control (using visual tree order or the z-index property, for example).
130143

131-
The WebView2Find API allows you to programmatically control **Find** operations, and enables adding the following functionality to your app:
144+
This issue occurs because the WPF control uses the WPF `HwndHost` to host the Win32 WebView2 control, and `HwndHost` has an issue with airspace; see [Mitigating Airspace Issues In WPF Applications](https://dwayneneed.github.io/wpf/2013/02/26/mitigating-airspace-issues-in-wpf-applications.html).
145+
<!-- todo: [PR 4804: WPF Airspace - WebView2CompositionControl](https://github.com/MicrosoftEdge/WebView2Feedback/pull/4804/files) -->
146+
147+
##### [.NET/C#](#tab/dotnetcsharp)
148+
149+
* `CoreWebView2CompositionController` Class
150+
<!-- todo: add new members -->
151+
152+
##### [WinRT/C#](#tab/winrtcsharp)
153+
154+
* [CoreWebView2 Class](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2?view=webview2-winrt-1.0.3079-prerelease&preserve-view=true)<!-- todo: delete link to large old class -->
155+
<!-- todo: add new members? -->
156+
157+
* [CoreWebView2CompositionController Class](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2compositioncontroller?view=webview2-winrt-1.0.3079-prerelease&preserve-view=true)
158+
<!-- todo: add new members -->
159+
160+
##### [Win32/C++](#tab/win32cpp)
161+
162+
* [ICoreWebView2ExperimentalCompositionController5]<!-- todo: link -->
163+
<!-- todo: add members of this new partial class, probably #5 -->
164+
165+
---
166+
167+
168+
<!-- ---------- -->
169+
###### Programmatically control Find operations (Find API)
170+
171+
The Find API allows you to programmatically control **Find** operations, and enables adding the following functionality to your app:
132172
* Customize **Find** options, similar to **Ctrl+F** in Microsoft Edge.
133173
* Find text strings and navigate among them within a WebView2 control.
134174
* Programmatically initiate **Find** operations, and navigate **Find** results.
135175
* Suppress the default **Find** UI.
136176
* Track the status of **Find** operations, indicating completion, changes of match count, and changes of match index.
137177

138-
There are known issues with the WebView2Find API for PDF documents. When you view a PDF document within a WebView2 control, the **Find** feature currently only provides the number of matches found, and the first index.<!-- todo: clarify "index" --> We are actively investigating these issues, and we encourage you to report any problems you encounter, by using the [WebView2Feedback](https://github.com/MicrosoftEdge/WebViewFeedback) repo.
178+
There are known issues with the Find API for PDF documents. When you view a PDF document within a WebView2 control, the **Find** feature currently only provides the number of matches found, and the first index.<!-- todo: clarify "index" --> We are actively investigating these issues, and we encourage you to report any problems you encounter, by using the [WebView2Feedback](https://github.com/MicrosoftEdge/WebViewFeedback) repo.
139179

140180
##### [.NET/C#](#tab/dotnetcsharp)
141181

@@ -238,8 +278,6 @@ The `DragStarting` API overrides the default drag and drop behavior when running
238278

239279
<!-- todo -->
240280

241-
These APIs are forthcoming.
242-
243281
* `CoreWebView2CompositionController` Class
244282
* `CoreWebView2CompositionController.DragStarting` Event
245283

@@ -257,8 +295,6 @@ These APIs are forthcoming.
257295

258296
<!-- todo -->
259297

260-
These APIs are forthcoming.
261-
262298
* `CoreWebView2CompositionController` Class
263299
* `CoreWebView2CompositionController.DragStarting` Event
264300

0 commit comments

Comments
 (0)