Summary
Parses a color string.
- Namespace
- Avalonia
.Media - Containing Type
- Color
Syntax
public static bool TryParse(ReadOnlySpan<char> s, out Color color)
Parameters
Name | Type | Description |
---|---|---|
s | ReadOnlySpan |
The color string. |
color | Color | The parsed color |
Return Value
Type | Description |
---|---|
bool | The status of the operation. |