Class ImportanceToBooleanConverter
Represents converter that converts IAppointment to a string that can be used as a title of a window.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class ImportanceToBooleanConverter : Object, IValueConverter
Constructors
ImportanceToBooleanConverter()
Declaration
public ImportanceToBooleanConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts Importance to a boolean value.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
The Importance that will be used for conversion. |
System.Type
targetType
This parameter is not used. |
System.Object
parameter
The Importance that will be used for conversion. |
System.Globalization.CultureInfo
culture
This parameter is not used. |
Returns
System.Object
True if the parameter equals the value. Otherwise returns false. |
ConvertBack(Object, Type, Object, CultureInfo)
Converts a boolean value to a Importance.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
The Importance that will be used for conversion. |
System.Type
targetType
This parameter is not used. |
System.Object
parameter
The Importance that will be used for conversion. |
System.Globalization.CultureInfo
culture
This parameter is not used. |
Returns
System.Object
True if the parameter equals the value. Otherwise returns false. |