Show / Hide Table of Contents

Class EqualityConverter

General version of BooleanToVisibilityConverter that lets the "true" and "false" values be specified in xaml.

Inheritance
object
EqualityConverter
Implements
IMultiValueConverter
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.Aruba.Converters
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class EqualityConverter : IMultiValueConverter

Methods

View Source

Convert(object[], Type, object, CultureInfo)

Converts a given input value to DependencyProperty.UnsetValue if it is null. It passes it through unchanged if it is not null.

Declaration
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
Parameters
Type Name Description
object[] values

The input values to be converted.

Type targetType

The parameter is not used.

object parameter

The parameter is not used.

CultureInfo culture

The parameter is not used.

Returns
Type Description
object

DependencyProperty.UnsetValue if the input value is null. Otherwise it returns the input value unchanged.

View Source

ConvertBack(object, Type[], object, CultureInfo)

The method is not used.

Declaration
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
Parameters
Type Name Description
object value

The parameter is not used.

Type[] targetTypes

The parameter is not used.

object parameter

The parameter is not used.

CultureInfo culture

The parameter is not used.

Returns
Type Description
object[]

The return value is not used.

Implements

IMultiValueConverter
  • View Source
In this article
Back to top Generated by DocFX