Show / Hide Table of Contents

Class ExistsInListToBoolConverter

A converter that is given a list and an object and returns whether that object exists in the list.

Inheritance
object
ExistsInListToBoolConverter
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 ExistsInListToBoolConverter : IMultiValueConverter

Methods

View Source

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

Given a list and an object, returns whether that object exists in the list.

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

values[0] is expected to be a List, values[1] is expected to be the object to check if it exists in the list.

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

Returns whether the given object was in the given list. False for invalid data.

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