Basic Library for WPF and Silverlight | ComponentOne
C1.WPF Namespace / ColorEx Class / WithAlpha Method
The color.
a.

In This Topic
    WithAlpha Method
    In This Topic
    Creates a new color modifying the alpha channel.
    Syntax
    'Declaration
     
    
    <ExtensionAttribute()>
    Public Shared Function WithAlpha( _
       ByVal color As Brush, _
       ByVal a As Byte _
    ) As Brush
    [Extension()]
    public static Brush WithAlpha( 
       Brush color,
       byte a
    )

    Parameters

    color
    The color.
    a
    a.
    See Also