Method Convert
- Namespace
- Innova.Prism.Library.Converters
- Assembly
- Innova.Prism.Library.dll
Convert(object, Type, object, CultureInfo)
Converts a value to a DependencyProperty.UnsetValue if it is null or an empty byte array.
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
valueobjectThe value to convert.
targetTypeTypeThe type of the binding target property.
parameterobjectThe converter parameter to use.
cultureCultureInfoThe culture to use in the converter.
Returns
- object
The converted value or DependencyProperty.UnsetValue.