SkiaColorConverter class
WinForms controls — class
TypeConverter for SKColor: edits colors as "#AARRGGBB" hex strings in the PropertyGrid.
Members
| Member | Kind | Description |
|---|---|---|
override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) | Method | Gets or sets the can convert from. |
override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) | Method | Gets or sets the can convert to. |
override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) | Method | Gets or sets the convert from. |
override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) | Method | Gets or sets the convert to. |
static SKColor Parse(string text) | Method | Parses "#AARRGGBB", "#RRGGBB", or a named color; invalid input returns transparent. |
static string Format(SKColor color) | Method | Formats a color as "#AARRGGBB". |