Skip to content

Commit a8ec498

Browse files
Fix XAML Islands link: point to xaml-islands page, not visual-layer
The scenario table row for 'Add modern UI controls' and the body paragraph both incorrectly linked to ui/visual-layer-in-desktop-apps.md. The Visual Layer page covers low-level composition APIs, not WinUI controls. Updated both links to xaml-islands/xaml-islands.md, which is the correct destination for hosting WinUI 3 controls in WPF/Win32 apps via XAML Islands. Also retained the visual-layer link in the body paragraph for the separate scenario of custom visual effects and animations. Co-authored-by: Copilot <[email protected]>
1 parent a62f6ae commit a8ec498

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

hub/apps/desktop/modernize/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Use the table below to find the right starting point for your situation.
1616

1717
| I want to... | Recommended approach |
1818
|---|---|
19-
| Add modern UI controls (Fluent, rounded corners, dark mode) to my WPF or Win32 app | [Use WinUI controls in a WPF app](ui/visual-layer-in-desktop-apps.md) |
19+
| Add modern UI controls (Fluent, rounded corners, dark mode) to my WPF or Win32 app | [Host WinUI controls in a WPF app (XAML Islands)](xaml-islands/xaml-islands.md) |
2020
| Use Windows platform features (notifications, sharing, file pickers) in my WPF or WinForms app | [Call Windows Runtime APIs in desktop apps](desktop-to-uwp-enhance.md) |
2121
| Package my app for the Microsoft Store or enterprise deployment | [Package a desktop app with MSIX](/windows/msix/desktop/source-code-overview) |
2222
| Unlock features that require package identity (background tasks, app extensions) | [Grant identity to an unpackaged app](grant-identity-to-nonpackaged-apps-overview.md) |
@@ -34,7 +34,7 @@ You can use the Windows App SDK in your existing app without changing your UI fr
3434

3535
You can host [WinUI 3 controls](../../winui/index.md) inside existing WPF or Win32 app windows using the Windows App SDK. This lets you modernize your UI incrementally — one window or dialog at a time — without migrating the entire app.
3636

37-
For guidance on visual layer integration, see [Modernize your desktop app using the Visual layer](ui/visual-layer-in-desktop-apps.md).
37+
For guidance on hosting WinUI 3 controls in your existing app, see [Host WinRT XAML controls in desktop apps (XAML Islands)](xaml-islands/xaml-islands.md). For low-level visual effects and animations, see [Modernize your desktop app using the Visual layer](ui/visual-layer-in-desktop-apps.md).
3838

3939
## Call Windows Runtime APIs
4040

0 commit comments

Comments
 (0)