Class DockAbilityToBoolConverter
Converts the DockAbility value to System.Boolean which handles the accessbility of the element
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class DockAbilityToBoolConverter : IMultiValueConverter
Constructors
DockAbilityToBoolConverter()
Declaration
public DockAbilityToBoolConverter()
Methods
Convert(Object[], Type, Object, CultureInfo)
Converts an array of values to a boolean based on the specified DockAbility and parameter.
Declaration
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object[] | values | An array of input values, where the first value is expected to be of type DockAbility. |
| System.Type | targetType | The target type of the binding (expected to be System.Object). |
| System.Object | parameter | An optional parameter used for comparison with the |
| System.Globalization.CultureInfo | culture | The culture to use in the converter. |
Returns
| Type | Description |
|---|---|
| System.Object | Returns |
ConvertBack(Object, Type[], Object, CultureInfo)
Not implemented. This method is intended to convert a value back to an array of source values, but currently throws a System.NotImplementedException.
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 used in the conversion logic. |
| System.Globalization.CultureInfo | culture | The culture to use in the converter. |
Returns
| Type | Description |
|---|---|
| System.Object[] | This method does not return a value; it always throws an exception. |
Exceptions
| Type | Condition |
|---|---|
| System.NotImplementedException | Thrown in all cases as the method is not implemented. |