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 Brush, SolidColorBrush, and GradientBrush are also found.
Note
The Acrylic material is also available to UWP applications that use WinUI 2.8.x.
If you want to explore the AcrylicBrush before deciding to use it in your own projects, you can try it in the WinUI 3 Gallery app:
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....