Converter that takes a bool value and translates it into a visibility. More...
Public Member Functions | |
object | Convert (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
Conversion. | |
object | ConvertBack (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
Inverse conversion. | |
Converter that takes a bool value and translates it into a visibility.
object Convert | ( | object | value, |
Type | targetType, | ||
object | parameter, | ||
System.Globalization.CultureInfo | culture ) |
Conversion.
value | value to be converted |
targetType | target type to convert the value to |
parameter | conversion specification (must be of type BoolToVisibilityConversion) |
culture | ignored |
object ConvertBack | ( | object | value, |
Type | targetType, | ||
object | parameter, | ||
System.Globalization.CultureInfo | culture ) |
Inverse conversion.
value | Value to convert. |
targetType | Target type for conversion. |
parameter | Conversion parameter. |
culture | Conversion culture (ignored). |
NotSupportedException | If the targetType is not bool or targetType is null . |
NullReferenceException | If value is null. |