ClassImportanceToBooleanConverter
Represents converter that converts IAppointment to a string that can be used as a title of a window.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
public class ImportanceToBooleanConverter : IValueConverter
Inheritance: objectImportanceToBooleanConverter
Implements:
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
value
The Importance that will be used for conversion.
targetType
This parameter is not used.
parameter
The Importance that will be used for conversion.
culture
This parameter is not used.
Returns
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
value
The Importance that will be used for conversion.
targetType
This parameter is not used.
parameter
The Importance that will be used for conversion.
culture
This parameter is not used.
Returns
True if the parameter equals the value. Otherwise returns false.