Acrylic material and the Fluent Design System
Acrylic is a WinUI brush that, when applied in your apps, provides a translucent texture. The texture works in both light and dark themes in Windows, and it is a great way to give users the feeling of depth when using your applications. The
AcrylicBrush class is part of the
Microsoft.UI.Xaml.Media namespace in the Windows App SDK, where
GradientBrush are also found.
The Acrylic material is also available to UWP applications that use WinUI 2.8.x.
Figure 7.12 – Exploring AcrylicBrush in the WinUI 3 Gallery
On the gallery page, you can see the default styles of
AcrylicBrush and how they’ll appear in the Windows light and dark themes. Additionally, the gallery page provides controls to adjust the opacity and tint of the brush....