Represents converter, which converts Boolean value to Visibility enumeration value depending on parameter.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class DragDropBooleanToVisibilityConverter : IValueConverter
Inheritance: objectDragDropBooleanToVisibilityConverter
Implements:
Constructors
public DragDropBooleanToVisibilityConverter()
Methods
Converts a value depending on parameter. The parameter values can be before, after and inside. The converter returns true when DropRelativePosition value is equal to specified parameter value.
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
The value produced by the binding source.
targetTypeTypeThe type of the binding target property.
parameterobjectThe converter parameter to use.
cultureCultureInfoThe culture to use in the converter.
Returns:A converted value. If the method returns null, the valid null value is used.
Converts a value.
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
The value produced by the binding source.
targetTypeTypeThe type of the binding target property.
parameterobjectThe converter parameter to use.
cultureCultureInfoThe culture to use in the converter.
Returns: