Color.FromArgb(String) 方法

定义

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

参数

colorAsHex
String

返回

适用于