Class BugActionErrorConverter
Determines if a Bug Action has an error and then either provides an error string or visibility setting.
Implements
Inherited Members
Namespace: Phoenix.Aruba.Converters
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class BugActionErrorConverter : IMultiValueConverter
Methods
View SourceConvert(object[], Type, object, CultureInfo)
Converts a value.
Declaration
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
Parameters
| Type | Name | Description |
|---|---|---|
| object[] | values | values[0] should be a BugAction, values[1] should be a BugViewerVM |
| Type | targetType | The target type. |
| object | parameter | Should be "ToolTip" or null |
| CultureInfo | culture | The culture. |
Returns
| Type | Description |
|---|---|
| object | Either an error string or a visibility setting. |
ConvertBack(object, Type[], object, CultureInfo)
Converts a value.
Declaration
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
Parameters
| Type | Name | Description |
|---|---|---|
| object | value | A value. |
| Type[] | targetTypes | The target type. |
| object | parameter | A parameter. |
| CultureInfo | culture | The culture. |
Returns
| Type | Description |
|---|---|
| object[] | The converted values. |