Skip to main content

ObjectConverters Class

Definition​

Assembly:Avalonia.Base
Package:Avalonia

Provides a set of useful Avalonia.Data.Converters.IValueConverters for working with objects.

public class ObjectConverters

Inheritance: object -> ObjectConverters

Fields​

NameDescription
AreAllEqualA multi-value converter that returns true if all inputs are equal to each other. Null values are not considered equal to anything since they don't have Equals method.
AreAllNullA multi-value converter that returns true if all inputs are null.
AreAnyNullA multi-value converter that returns true if at least one input is null.
EqualA value converter that returns true if the input object is equal to a parameter object.
IsNotNullA value converter that returns true if the input object is not null.
IsNullA value converter that returns true if the input object is a null reference.
NotEqualA value converter that returns true if the input object is not equal to a parameter object.

AreAllEqual Field​

A multi-value converter that returns true if all inputs are equal to each other. Null values are not considered equal to anything since they don't have Equals method.

public Avalonia.Data.Converters.IMultiValueConverter AreAllEqual

AreAllNull Field​

A multi-value converter that returns true if all inputs are null.

public Avalonia.Data.Converters.IMultiValueConverter AreAllNull

AreAnyNull Field​

A multi-value converter that returns true if at least one input is null.

public Avalonia.Data.Converters.IMultiValueConverter AreAnyNull

Equal Field​

A value converter that returns true if the input object is equal to a parameter object.

public Avalonia.Data.Converters.IValueConverter Equal

IsNotNull Field​

A value converter that returns true if the input object is not null.

public Avalonia.Data.Converters.IValueConverter IsNotNull

IsNull Field​

A value converter that returns true if the input object is a null reference.

public Avalonia.Data.Converters.IValueConverter IsNull

NotEqual Field​

A value converter that returns true if the input object is not equal to a parameter object.

public Avalonia.Data.Converters.IValueConverter NotEqual