Color.FromHex(String) Method

Definition

Caution

Use FromArgb instead.

public:
 static Microsoft::Maui::Graphics::Color ^ FromHex(System::String ^ colorAsArgbHex);
[System.Obsolete("Use FromArgb instead.")]
public static Microsoft.Maui.Graphics.Color FromHex (string colorAsArgbHex);
[<System.Obsolete("Use FromArgb instead.")>]
static member FromHex : string -> Microsoft.Maui.Graphics.Color
Public Shared Function FromHex (colorAsArgbHex As String) As Color

Parameters

colorAsArgbHex
String

Returns

Attributes

Applies to