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
value
objectThe value to convert.
targetType
TypeThe type of the binding target property.
parameter
objectThe converter parameter to use.
culture
CultureInfoThe culture to use in the converter.
Returns
- object
The converted value or DependencyProperty.UnsetValue.