共用方式為


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

傳回

適用於