TryParse(String, Color) Method
Parses a color string.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static bool TryParse(
string? s,
out Color? color
)
Public Shared Function TryParse (
s As String,
<OutAttribute> ByRef color As Color
) As Boolean
static member TryParse :
s : string *
color : Color byref -> bool
Parameters
Return Value
Boolean
The status of the operation.