Color.FromHex(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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
返回
- 属性