You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use Mica in UWP apps that use WinUI for UWP, or in apps that use Windows App SDK 1.1 or later. You can use Mica Alt in apps that use Windows App SDK 1.1 or later.
126
-
127
-
### Use Mica with the Windows App SDK
128
-
129
-
To use Mica in a WinUI XAML app, see [Apply Mica or Acrylic materials in desktop apps for Windows 11](../../develop/ui/system-backdrops.md).
125
+
To use Mica in a WinUI app, see [Apply Mica or Acrylic materials in desktop apps for Windows 11](../../develop/ui/system-backdrops.md).
130
126
131
127
To use Mica in a Win32 app, see [Apply Mica in Win32 desktop apps for Windows 11](../../desktop/modernize/ui/apply-mica-win32.md).
132
128
133
-
### Use Mica with WinUI for UWP
134
-
135
-
To use Mica in a UWP app with WinUI for UWP, see [Apply Mica with WinUI for UWP](/windows/uwp/ui-input/mica-uwp).
<p>If you have the <strong>WinUI for UWP Gallery</strong> app installed, click here to <a href="winui2gallery:/item/Sound">open the app and see Sound in action</a>.</p>
30
-
<ul>
31
-
<li><a href="https://apps.microsoft.com/detail/9MSVH128X2ZT">Get the WinUI for UWP Gallery app (Microsoft Store)</a></li>
32
-
<li><a href="https://github.com/Microsoft/WinUI-Gallery">Get the source code (GitHub)</a></li>
33
-
</ul>
34
-
</td>
35
-
</tr>
36
-
</table>
24
+
> [!div class="nextstepaction"]
25
+
26
+
> [Open the WinUI 3 Gallery app and see Sound in action](winui3gallery://item/Sound)
Soundisakeypartofthe 10-footexperience, andbydefault, the**ElementSoundPlayer**'s state is **Auto**, meaning that you will only get sound when your app is running on Xbox.
66
-
Pleasesee [DesigningforXboxandTV](../devices/designing-for-tv.md) for more details.
67
-
68
57
## Sound Volume Override
69
58
70
59
Allsoundswithintheappcanbedimmedwiththe**Volume**control. However, soundswithintheappcannotget*louderthanthesystemvolume*.
@@ -89,11 +78,11 @@ The **ElementSoundMode** has two states: **Off** and **Default**. When not set,
When creating a custom control, or changing an existing control's sound, it is important to understand the usages of all the sounds the system provides.
95
84
96
-
Each sound relates to a certain basic user interaction, and although sounds can be customized to play on any interaction, this section serves to illustrate the scenarios where sounds should be used to maintain a consistent experience across all UWP apps.
85
+
Each sound relates to a certain basic user interaction, and although sounds can be customized to play on any interaction, this section serves to illustrate the scenarios where sounds should be used to maintain a consistent experience across all WinUI apps.
97
86
98
87
### Invoking an Element
99
88
@@ -161,10 +150,6 @@ As an added feature to calling **ElementSound.Focus**, the sound system will, by
161
150
162
151
The purpose behind this cycling feature is to keep the focus sounds from becoming monotonous and from being noticeable by the user; focus sounds will be played most often and therefore should be the most subtle.
163
152
164
-
## Get the sample code
165
-
166
-
-[WinUI for UWP Gallery sample](https://github.com/Microsoft/WinUI-Gallery) - See all the XAML controls in an interactive format.
167
-
168
153
## Related articles
169
154
170
155
*[Designing for Xbox and TV](../devices/designing-for-tv.md)
0 commit comments