title | author | description | keywords |
---|---|---|---|
BackdropGammaTransferBrush |
michael-hawker |
The BackdropGammaTransferBrush is a Brush which modifies the color values of whatever is behind it in the application. |
windows 10, uwp, windows community toolkit, uwp community toolkit, uwp toolkit, brush, backdrop, gamma, color |
The BackdropGammaTransferBrush is a Brush which modifies the color values of whatever is behind it in the application.
[!div class="nextstepaction"] Try it in the sample app
To apply a red hue:
<Border BorderBrush="Black" BorderThickness="1" VerticalAlignment="Center" HorizontalAlignment="Center" Width="400" Height="400">
<Border.Background>
<media:BackdropGammaTransferBrush RedAmplitude="1.25" />
</Border.Background>
</Border>
See the property reference for the GammaTransferEffect.
All Amplitude, Disable, Exponent, and Offset properties are available for the Alpha, Red, Green, and Blue channels.
BackdropGammaTransferBrush 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 |