| 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
)
Public Shared Function Convert (
colorName As String
) As Brush
Parameters
- colorName
- Type: SystemString
The color name.
Return Value
Type:
BrushThe corresponding brush if the conversion was successful; otherwise
null.
See Also