Click or drag to resize

NullableBoolToBrush class

ValueConverter, converts a nullable bool into colours: zero: yellow, true: green, false: red.
Inheritance hierarchy
SystemObject
  Vishnu.WPF_UI.ValueConverterNullableBoolToBrush

Namespace: Vishnu.WPF_UI.ValueConverter
Assembly: Vishnu.WPF_UI (in Vishnu.WPF_UI.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntax
public class NullableBoolToBrush : IMultiValueConverter

The NullableBoolToBrush Type exposes the following members.

Constructors
 NameDescription of the
Public MethodNullableBoolToBrushinitializes a new instance of the NullableBoolToBrush class
Back to the top
Methods
 NameDescription of the
Public MethodConvert Converts a nullable bool into colours (SolidColorBrush): zero: yellow, true: green, false: red.
Public MethodConvertBack Converts the colours yellow, green, red (SolidColorBrush) in null, true, false.
Back to the top
Remarks
File: NullableBoolToBrush.cs Author: Erik Nagel 05.01.2013 Erik Nagel: created
See also