Skip to content

Commit 960888a

Browse files
Merge pull request #3302 from MicrosoftDocs/user/mikehoffms/winui3-sample
Add article "WinUI 3 (Windows App SDK) sample app"
2 parents d714a9d + 3d27010 commit 960888a

15 files changed

Lines changed: 685 additions & 35 deletions

.openpublishing.redirection.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -242,11 +242,6 @@ Old redirects (to /archive/)
242242
"redirect_url": "/microsoft-edge/webview2/get-started/wpf",
243243
"redirect_document_id": false
244244
},
245-
{
246-
"source_path": "microsoft-edge/webview2/samples/webview2-winui3-sample.md",
247-
"redirect_url": "/microsoft-edge/webview2/code-samples-links",
248-
"redirect_document_id": false
249-
},
250245

251246
/* WebView2 How-to: */
252247
{

microsoft-edge/toc.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,10 +1315,9 @@
13151315
href: webview2/samples/webview2_sample_uwp.md
13161316
displayName: webview2_sample_uwp, WinUI 2 (UWP) sample app # repo dir name, top-of-page title
13171317

1318-
# pending, July 26 2022
1319-
# - name: WinUI 3 sample app
1320-
# href: webview2/samples/webview2-winui3-sample.md
1321-
# displayName: WebView2_WinUI3_Sample # repo dir name
1318+
- name: WinUI 3 (Windows App SDK) sample app
1319+
href: webview2/samples/webview2-winui3-sample.md
1320+
displayName: WebView2_WinUI3_Sample # repo dir name
13221321

13231322
- name: WPF sample app
13241323
href: webview2/samples/webview2wpfbrowser.md

microsoft-edge/webview2/code-samples-links.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,13 @@ Sample apps that use WebView2 are available in the [WebView2Samples repo](https:
2121
| [Win32 sample app](samples/webview2apissample.md) | [WebView2APISample](https://github.com/MicrosoftEdge/WebView2Samples/tree/main/SampleApps/WebView2APISample) | Main sample; extensive. |
2222
| [Win32 sample app with Visual Composition](samples/webview2samplewincomp.md) | [WebView2SampleWinComp](https://github.com/MicrosoftEdge/WebView2Samples/tree/main/SampleApps/WebView2SampleWinComp) | Windows Runtime Composition APIs leverage the Windows UI in Win32 app. |
2323
| [WebView2Browser (Win32 C++/JS)](samples/webview2browser.md) | [WebView2Browser repo](https://github.com/MicrosoftEdge/WebView2Browser) | Uses multiple WebView2 instances. A major sample; has its own repo. |
24-
| [WinUI 2 (UWP) sample app](samples/webview2_sample_uwp.md) | [webview2_sample_uwp](https://github.com/MicrosoftEdge/WebView2Samples/tree/main/SampleApps/webview2_sample_uwp) |   |
24+
| [WinUI 2 (UWP) sample app](samples/webview2_sample_uwp.md) | [webview2_sample_uwp](https://github.com/MicrosoftEdge/WebView2Samples/tree/main/SampleApps/webview2_sample_uwp) | |
25+
| [WinUI 3 (Windows App SDK) sample app](./samples/webview2-winui3-sample.md) | [WebView2_WinUI3_Sample](https://github.com/MicrosoftEdge/WebView2Samples/tree/main/SampleApps/WebView2_WinUI3_Sample) | |
2526
| [WPF sample app](samples/webview2wpfbrowser.md) | [WebView2WpfBrowser](https://github.com/MicrosoftEdge/WebView2Samples/tree/main/SampleApps/WebView2WpfBrowser) |   |
2627
| [WPF app with CDP extension](samples/wv2cdpextensionwpfsample.md) | [WV2CDPExtensionWPFSample](https://github.com/MicrosoftEdge/WebView2Samples/tree/main/SampleApps/WV2CDPExtensionWPFSample) | Use Chrome DevTools Protocol APIs in a WPF app. |
27-
| [WinForms sample app](samples/webview2windowsformsbrowser.md) | [WebView2WindowsFormsBrowser](https://github.com/MicrosoftEdge/WebView2Samples/tree/main/SampleApps/WebView2WindowsFormsBrowser) |   |
28+
| [WinForms sample app](samples/webview2windowsformsbrowser.md) | [WebView2WindowsFormsBrowser](https://github.com/MicrosoftEdge/WebView2Samples/tree/main/SampleApps/WebView2WindowsFormsBrowser) | |
2829

2930

30-
<!--
31-
| [WinUI 3 (Windows App SDK) sample app](./samples/webview2-winui3-sample.md) | _pending_ PR: https://github.com/MicrosoftEdge/WebView2Samples/pull/142 [WebView2_WinUI3_Sample](https://github.com/MicrosoftEdge/WebView2Samples/tree/main/SampleApps/WebView2_WinUI3_Sample) | [Tutorial](get-started/winui.md).<br/> [Completed tutorial project](https://github.com/MicrosoftEdge/WebView2Samples/tree/main/GettingStartedGuides/WinUI3_GettingStarted). |
32-
-->
33-
3431
These articles provide the specific steps to set up your machine and build, run, and update each sample.
3532

3633

110 KB
Loading
134 KB
Loading

0 commit comments

Comments
 (0)