Method Parse
Parse(string?)
Returns a color from the specified string.
public static Color Parse(string? s)
Parameters
s
string
Returns
Parse(ITypeDescriptorContext?, CultureInfo?, string?)
public static Color? Parse(ITypeDescriptorContext? context, CultureInfo? culture, string? s)
Parameters
context
ITypeDescriptorContextAn ITypeDescriptorContext that provides a format context. You can use this object to get additional information about the environment from which this converter is being invoked.
culture
CultureInfoA CultureInfo that specifies the culture to represent the color.
s
stringThe string to convert.