ExtensionMethods.ToRgba(Color) Method

Definition

Returns a uint representing the RGBA value of the color

public:
[System::Runtime::CompilerServices::Extension]
 static System::UInt32 ToRgba(System::Windows::Media::Color color);
public static uint ToRgba (this System.Windows.Media.Color color);
static member ToRgba : System.Windows.Media.Color -> uint32
<Extension()>
Public Function ToRgba (color As Color) As UInteger

Parameters

color
Color

The color

Returns

The RGBA value of the color

Applies to