Represents converter that returns boolean whether the value is null or not.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
public class NullToBooleanConverter : IValueConverter
Inheritance: objectNullToBooleanConverter
Implements:
Constructors
public NullToBooleanConverter()
Fields
Instance of NullToBooleanConverter.
public static readonly NullToBooleanConverter Instance
Methods
Converts reference value to boolean.
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
The value produced by the binding source.
targetTypeTypeThe type of the binding target property. This parameter is not used.
parameterobjectThe converter parameter to use. This parameter is not used.
cultureCultureInfoThe culture to use in the converter. This parameter is not used.
Returns:Returns true if the value is not null. Otherwise returns false.
Converts a value.
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
The value that is produced by the binding target.
targetTypeTypeThe type to convert to.
parameterobjectThe converter parameter to use.
cultureCultureInfoThe culture to use in the converter.
Returns:A converted value.
This method is not implemented. Throws NotImplementedException.