title | author | description | keywords |
---|---|---|---|
BackdropSaturationBrush |
michael-hawker |
The BackdropSaturationBrush is a Brush that applies a Saturation effect to whatever is behind it in the application. |
windows 10, uwp, windows community toolkit, uwp community toolkit, uwp toolkit, brush, backdrop, saturation |
The BackdropSaturationBrush is a Brush that blurs whatever is behind it in the application.
[!div class="nextstepaction"] Try it in the sample app
<Border BorderBrush="Black" BorderThickness="1" VerticalAlignment="Center" HorizontalAlignment="Center" Width="400" Height="400">
<Border.Background>
<media:BackdropSaturationBrush Saturation="0.25" />
</Border.Background>
</Border>
Property | Type | Description |
---|---|---|
Saturation | double | The Saturation property specifies a double value for the amount of Saturation to apply from 0.0 - 1.0. Zero being monochrome, and one being fully saturated. The default is 0.5. |
BackdropSaturationBrush sample page Source. You can see this in action in the Windows Community Toolkit Sample App.
Device family | Universal, 10.0.16299.0 or higher |
---|---|
Namespace | Microsoft.Toolkit.Uwp.UI.Media |
NuGet package | Microsoft.Toolkit.Uwp.UI.Media |