C# Class Core2D.Avalonia.Converters.IsNotNullConverter

Converts a binding value object from object to bool True if value is not equal to null and AvaloniaProperty.UnsetValue otherwise return False.
Inheritance: IValueConverter
Mostra file Open project: Core2D/Core2D

Public Properties

Property Type Description
Instance IsNotNullConverter

Public Methods

Method Description
Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Converts a value.

ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Converts a value.

Method Details

Convert() public method

Converts a value.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value to convert.
targetType System.Type The type of the target.
parameter object A user-defined parameter.
culture System.Globalization.CultureInfo The culture to use.
return object

ConvertBack() public method

Converts a value.
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value to convert.
targetType System.Type The type of the target.
parameter object A user-defined parameter.
culture System.Globalization.CultureInfo The culture to use.
return object

Property Details

Instance public_oe static_oe property

Gets an instance of a IsNotNullConverter.
public static IsNotNullConverter,Core2D.Avalonia.Converters Instance
return IsNotNullConverter