BackdropGammaTransferBrush
The BackdropGammaTransferBrush is a Brush which modifies the color values of whatever is behind it in the application.
Syntax
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>
Example Image
Properties
See the property reference for the GammaTransferEffect.
All Amplitude, Disable, Exponent, and Offset properties are available for the Alpha, Red, Green, and Blue channels.
Sample Code
BackdropGammaTransferBrush 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
Feedback
Submit and view feedback for