Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 2.11 KB

BackdropSepiaBrush.md

File metadata and controls

52 lines (35 loc) · 2.11 KB
title author description keywords
BackdropSepiaBrush
michael-hawker
The BackdropSepiaBrush is a Brush that applies a Sepia effect to whatever is behind it in the application.
windows 10, uwp, windows community toolkit, uwp community toolkit, uwp toolkit, brush, backdrop, sepia

BackdropSepiaBrush

The BackdropSepiaBrush is a Brush that blurs whatever is behind it in the application.

[!div class="nextstepaction"] Try it in the sample app

Syntax

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

Example Image

Backdrop Sepia

Properties

Property Type Description
Intensity double The Intensity property specifies a double value for the amount of Sepia to apply from 0.0 - 1.0. Zero being none, and one being full Sepia effect. The default is 0.5.

Sample Project

BackdropSepiaBrush 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

Related Topics