BackdropInvertBrush

The BackdropInvertBrush is a Brush that inverts whatever is behind it in the application.

Syntax

<Border BorderBrush="Black" BorderThickness="1" VerticalAlignment="Center" HorizontalAlignment="Center" Width="400" Height="400">
  <Border.Background>
    <media:BackdropInvertBrush />
  </Border.Background>
</Border>

Example Image

Backdrop Invert

Sample Project

BackdropInvertBrush sample page Source. You can see this in action in the Windows Community Toolkit Sample App.

Requirements

Device family Universal, 10.0.16299.0 or higher
Namespace Microsoft.Toolkit.Uwp.UI.Media
NuGet package Microsoft.Toolkit.Uwp.UI.Media

API