Utils.LighterBy(Color, Single) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lightens the color by the given percentage.
C#
public static Windows.UI.Color LighterBy (this Windows.UI.Color color, float amount);
static member LighterBy : Windows.UI.Color * single -> Windows.UI.Color
<Extension()>
Public Function LighterBy (color As Color, amount As Single) As Color
- color
- Color
Source color.
- amount
- Single
Percentage to lighten. Value should be between 0 and 1.
Color
Produit | Versions |
---|---|
Windows Community Toolkit | 7.0.0, 7.1.0 |