Basic Library for WPF and Silverlight | ComponentOne
C1.WPF Namespace / ColorEx Class / Blend Method
The color to blend onto the backgroundColor.
The background color.
How much of color to keep, 搊n top of?backgroundColor.

In This Topic
    Blend Method
    In This Topic
    Blends the specified colors together.
    Syntax
    'Declaration
     
    
    <ExtensionAttribute()>
    Public Shared Function Blend( _
       ByVal color As Brush, _
       ByVal backgroundColor As Brush, _
       ByVal amount As Double _
    ) As Brush
    [Extension()]
    public static Brush Blend( 
       Brush color,
       Brush backgroundColor,
       double amount
    )

    Parameters

    color
    The color to blend onto the backgroundColor.
    backgroundColor
    The background color.
    amount
    How much of color to keep, 搊n top of?backgroundColor.
    See Also