XAML

Frosted Glass Behavior

This is a xaml behavior that can be added to a panel or a border element that makes the background have a transparent frosted glass effect using Win2d and XAML Behavior.

Required Package: Win2D.uwp, Microsoft.Xaml.Behaviors.Uwp.Managed

Usage:

<Border>
  <i:Interaction.Behaviors>
    <FGB:FrostedGlassBehavior />
  </i:Interaction.Behaviors>
    <TextBlock Text="Hello World" Foreground="White"/>
</Border>

Download the source code from github.

screenshot1

Advertisements