CommunityToolkit / CommunityToolkit/Tooling-Windows-Submodule

[UX] Mica support for sample app

Offen
#80 2 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @niels9001 Auf GitHub ansehen
enhancement sample app 🖼 ux :paintbrush:
Vorherrschende Sprache
C#
Sterne
55
Forks
19
Ø Merge
40 Min.
Gemergte PRs (30 T.)
1

Beschreibung

# Background
Design guidelines advise to use Mica as a background material for modern Windows apps, therefore it would be great for the Labs Gallery to have this as well.

# Problem
The UWP and WAS implementations are completely different.

UWP implementation:
https://docs.microsoft.com/en-us/windows/apps/design/style/mica#how-to-use-mica

WAS implementation:
See WinUI 3 Gallery as docs are still being updated (see https://github.com/MicrosoftDocs/winui-api/issues/121#issuecomment-1158076578)

# Solution
A #if WINAPPSDK check to select the right API for UWP / WAS:

As discussed here: https://github.com/CommunityToolkit/Labs-Windows/pull/162#issuecomment-1158170294

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.