Class MoreColorVisibilityconverter
A multi-value converter that determines the visibility of a UI element based on multiple input values.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class MoreColorVisibilityconverter : IMultiValueConverter
Constructors
MoreColorVisibilityconverter()
Declaration
public MoreColorVisibilityconverter()
Methods
Convert(Object[], Type, Object, CultureInfo)
Converts multiple input values to a single System.Windows.Visibility value.
Declaration
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object[] | values | An array of input values used in the conversion. |
| System.Type | targetType | The type of the binding target property. |
| System.Object | parameter | An optional parameter to be used in the converter logic. |
| System.Globalization.CultureInfo | culture | The culture to use in the converter. |
Returns
| Type | Description |
|---|---|
| System.Object | A System.Windows.Visibility value based on the input values. Returns System.Windows.Visibility.Collapsed if both standard and custom visibility are not visible. Otherwise, returns the third value if available, or System.Windows.Visibility.Visible. |
ConvertBack(Object, Type[], Object, CultureInfo)
Converts a value back to an array of values. This method is not implemented.
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 target types to convert to. |
| System.Object | parameter | An optional parameter to be used in the converter logic. |
| System.Globalization.CultureInfo | culture | The culture to use in the converter. |
Returns
| Type | Description |
|---|---|
| System.Object[] | An array of objects that are the result of the conversion. |
Exceptions
| Type | Condition |
|---|---|
| System.NotImplementedException |