Method Parse
Parse(string?)
Returns a color from the specified string.
public static Color Parse(string? s)
Parameters
sstring
Returns
Parse(ITypeDescriptorContext?, CultureInfo?, string?)
public static Color? Parse(ITypeDescriptorContext? context, CultureInfo? culture, string? s)
Parameters
contextITypeDescriptorContextAn 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.
cultureCultureInfoA CultureInfo that specifies the culture to represent the color.
sstringThe string to convert.