ConvertColorFromRgb Method
Creates a new
System.Windows.Media.Brush structure by using the specified RGB color channel values.
'Declaration
Public Shared Function ConvertColorFromRgb( _
ByVal As Byte, _
ByVal As Byte, _
ByVal As Byte _
) As Brush
public static Brush ConvertColorFromRgb(
byte ,
byte ,
byte
)
Parameters
- r
- The red channel of the new color.
- g
- The green channel of the new color.
- b
- The blue channel of the new color.
Return Value
A
System.Windows.Media.Brush structure with the specified values