Class BoolToInputModeConverter
Represents converter that converts Boolean to InputMode using the given parameter. If the Boolean value is true the parameter is returned. If the Boolean value is false the default value of InputMode is returned.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class BoolToInputModeConverter : IValueConverter
Constructors
BoolToInputModeConverter()
Declaration
public BoolToInputModeConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts a Boolean to InputMode using the given converter.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
The Boolean that will be used for conversion. |
System.Type
targetType
This parameter is not used. |
System.Object
parameter
This parameter is not used. |
System.Globalization.CultureInfo
culture
This parameter is not used. |
Returns
System.Object
An Enumerable value of InputMode. |
ConvertBack(Object, Type, Object, CultureInfo)
Converts a value of type InputMode to Boolean.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
The InputMode value that will be used for conversion. |
System.Type
targetType
This parameter is not used. |
System.Object
parameter
This parameter is used . |
System.Globalization.CultureInfo
culture
This parameter is not used. |
Returns
System.Object
An Enumerable value of InputMode. |