SolidColorBrush.

Parse(string) Method

Summary

Parses a brush string.
Namespace
Avalonia.Media
Containing Type
SolidColorBrush

Syntax

public static SolidColorBrush Parse(string s)

Remarks

Whereas Parse(string) may return an immutable solid color brush, this method always returns a mutable SolidColorBrush.

Parameters

Name Type Description
s string The brush string.

Return Value

Type Description
SolidColorBrush The Color.