CommunityToolkit / CommunityToolkit/Tooling-Windows-Submodule

[UX] Mica support for sample app

Aperta
#80 2 commenti 0 reazioni 1 assegnatario Rivendicata da @niels9001 Vedi su GitHub
enhancement sample app 🖼 ux :paintbrush:
Lingua principale
C#
Stelle
55
Fork
19
Merge medio
40m
PR unite (30g)
1

Descrizione

# 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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.