| ColorNameToBrushConverterConvert(String) Method |
Converts the specified color name.
Null and UnSet are unchanged.
Namespace: TomsToolbox.Wpf.ConvertersAssembly: 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
)
Public Shared Function Convert (
colorName As String
) As Brush
Parameters
- colorName String
- The color name.
Return Value
BrushThe corresponding brush if the conversion was successful; otherwise
null.
See Also