New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class ImportanceToBooleanConverter : IValueConverter

Inheritance: objectImportanceToBooleanConverter

Implements: IValueConverter

Constructors

C#
public ImportanceToBooleanConverter()

Methods

Converts Importance to a boolean value.

C#
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobject

The Importance that will be used for conversion.

targetTypeType

This parameter is not used.

parameterobject

The Importance that will be used for conversion.

cultureCultureInfo

This parameter is not used.

Returns:

object

True if the parameter equals the value. Otherwise returns false.

Converts a boolean value to a Importance.

C#
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobject

The Importance that will be used for conversion.

targetTypeType

This parameter is not used.

parameterobject

The Importance that will be used for conversion.

cultureCultureInfo

This parameter is not used.

Returns:

object

True if the parameter equals the value. Otherwise returns false.