Converts a Color to an equivalent SolidColorBrush.
Namespace:
Mindscape.WpfElementsAssembly: Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)
Syntax
C# |
---|
[ValueConversionAttribute(typeof(Color), typeof(Brush))] public class ColorToBrushConverter : IValueConverter |
Visual Basic (Declaration) |
---|
<ValueConversionAttribute(GetType(Color), GetType(Brush))> _ Public Class ColorToBrushConverter _ Implements IValueConverter |