Click or drag to resize

ColorNameToBrushConverterConvert(String) Method

Converts the specified color name. Null and UnSet are unchanged.

Namespace: TomsToolbox.Wpf.Converters
Assembly: TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public static Brush? Convert(
	string? colorName
)

Parameters

colorName  String
The color name.

Return Value

Brush
The corresponding brush if the conversion was successful; otherwise null.
See Also