Converts a Color to an equivalent SolidColorBrush.

Namespace:  Mindscape.WpfElements
Assembly:  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

Inheritance Hierarchy

System..::.Object
  Mindscape.WpfElements..::.ColorToBrushConverter

See Also