Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 2.31 KB

BackdropGammaTransferBrush.md

File metadata and controls

54 lines (35 loc) · 2.31 KB
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

BackdropGammaTransferBrush

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

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

Backdrop Gamma

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