[]
Represents a Binding converter that returns a Boolean value indicating whether a source value is null.
[ValueConversion(typeof(object), typeof(bool))]
public class IsNullConverter : IValueConverter
IsNullConverter is a one-way converter. A target value returned by the converter is true if a source value is null; otherwise, a target value is false.
Name | Description |
---|---|
IsNullConverter() |
Name | Description |
---|---|
Default | Gets an instance of IsNullConverter. |
Name | Description |
---|---|
Convert(object, Type, object, CultureInfo) | Converts a value. The data binding engine calls this method when it propagates a value from the binding source to the binding target. |
ConvertBack(object, Type, object, CultureInfo) | Returns DoNothing. |