Class ImageBackgroundVisiblityConverter
A multi-value converter that determines the visibility of an image background based on multiple bound values.
Inheritance
System.Object
ImageBackgroundVisiblityConverter
Implements
System.Windows.Data.IMultiValueConverter
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class ImageBackgroundVisiblityConverter : Object, IMultiValueConverter
Constructors
ImageBackgroundVisiblityConverter()
Declaration
public ImageBackgroundVisiblityConverter()
Methods
Convert(Object[], Type, Object, CultureInfo)
Converts multiple input values to a single output value that determines image background.
Declaration
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object[] | values | An array of input values from the binding sources. |
| System.Type | targetType | The type of the binding target property. |
| System.Object | parameter | An optional parameter to influence the conversion logic. |
| System.Globalization.CultureInfo | culture | The culture to use in the converter. |
Returns
| Type |
|---|
| System.Object |
ConvertBack(Object, Type[], Object, CultureInfo)
Converts single output value to multiple input values.
Declaration
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value | The value produced by the binding target. |
| System.Type[] | targetTypes | The array of types to convert to. |
| System.Object | parameter | An optional parameter to influence the conversion logic. |
| System.Globalization.CultureInfo | culture | The culture to use in the converter. |
Returns
| Type |
|---|
| System.Object[] |
Implements
System.Windows.Data.IMultiValueConverter