Represents a Binding converter that converts a color to a brush.
Namespace:
C1.Silverlight.ScheduleAssembly: C1.Silverlight.Schedule (in C1.Silverlight.Schedule.dll)
Syntax
C# |
---|
public class ColorToBrushConverter : IValueConverter |
Visual Basic |
---|
Public Class ColorToBrushConverter _ Implements IValueConverter |
Remarks
ColorToBrushConverter is a two-way converter. The source value
must be a System.Windows.Media.Color, and the target value is a
System.Windows.Media.SolidColorBrush based on the color.