共用方式為


Color.FromArgb(String) Method

Definition

public:
 static Microsoft::Maui::Graphics::Color ^ FromArgb(System::String ^ colorAsHex);
public static Microsoft.Maui.Graphics.Color FromArgb (string colorAsHex);
static member FromArgb : string -> Microsoft.Maui.Graphics.Color
Public Shared Function FromArgb (colorAsHex As String) As Color

Parameters

colorAsHex
String

Returns

Applies to