Table of Contents

Class IsEqualToConverter

Namespace
Acuit.Pinpoint.Windows
Assembly
Acuit.Pinpoint.Windows.dll

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

[ValueConversion(typeof(object), typeof(bool))]
public class IsEqualToConverter : GenericConverter<object, bool, object>, IValueConverter
Inheritance
IsEqualToConverter
Implements
Inherited Members

Methods

Convert(object, object, CultureInfo)

Converts a value.

public override bool Convert(object value, object parameter, CultureInfo culture)

Parameters

value object

The value produced by the binding source.

parameter object

The converter parameter to use.

culture CultureInfo

The culture to use in the converter.

Returns

bool

A converted value. If the method returns null, the valid null value is used.

ConvertBack(bool, object, CultureInfo)

Converts a value.

public override object ConvertBack(bool value, object parameter, CultureInfo culture)

Parameters

value bool

The value that is produced by the binding target.

parameter object

The converter parameter to use.

culture CultureInfo

The culture to use in the converter.

Returns

object

A converted value. If the method returns null, the valid null value is used.