from winrt.windows.ui.composition import SpriteVisual
from winrt.windows.ui.xaml import xaml_shadow
visual = SpriteVisual()
# Create an acrylic brush.
acrylic = xaml_shadow.AcrylicBrush()
acrylic.BackgroundSource = xaml_shadow.AcrylicBackgroundSource.HostBackdrop
# Apply the acrylic brush to the background of the visual.
visual.Brush = acrylic
# Set the blur amount for the acrylic effect.
acrylic.BlurAmount = 20.0
# Set the opacity of the acrylic effect.
acrylic.FallbackColor = xaml_shadow.ColorHelper.FromArgb(100, 255, 255, 255)
# Set the visual as the background of the application.
XamlRoot.Content = visual
```
No