ColorTryParse(String, Color) Method

Parses a color string.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static bool TryParse(
	string? s,
	out Color? color
)

Parameters

s  String
The color string.
color  Color
The parsed color

Return Value

Boolean
The status of the operation.

See Also