ExtensionMethods.ToRgba(Color) Method
Definition
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.
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