Handy Boolean value converters

WPF, Silverlight, and Windows Store apps often use value converters to massage data into the proper format for data binding. Although WPF provides a built-in BooleanToVisibilityConverter class, the Silverlight and Windows Store frameworks do not, and it’s convenient to have several other frequently-used converters lying around. In this post, we focus on a few simple conversions between Boolean values and other types, all of which can be derived from a single generic base class:
read more