共用方式為


Color.FromHex(String) 方法

定義

警告

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

參數

colorAsArgbHex
String

傳回

屬性

適用於