public object ConvertBack(object aValue, Type aTargetType, object aParameter, System.Globalization.CultureInfo aCulture) { if (aTargetType != typeof(bool)) { throw new InvalidOperationException("The target must be a boolean"); } return (!(bool)aValue); }