Class ExistsInListToBoolConverter
A converter that is given a list and an object and returns whether that object exists in the list.
Implements
Inherited Members
Namespace: Phoenix.Aruba.Converters
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class ExistsInListToBoolConverter : IMultiValueConverter
  Methods
View SourceConvert(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.  | 
      
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.  |