Click or drag to resize

ColorNameToBrushConverterConvert Method (String)

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

Namespace:  TomsToolbox.Wpf.Converters
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax
public static Brush? Convert(
	string? colorName
)

Parameters

colorName
Type: SystemString
The color name.

Return Value

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