Class
ImportanceToBooleanConverter

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:

cs-api-definition
public class ImportanceToBooleanConverter : IValueConverter

Inheritance: objectImportanceToBooleanConverter

Implements: IValueConverter

Constructors

ImportanceToBooleanConverter()

Declaration

cs-api-definition
public ImportanceToBooleanConverter()

Methods

Convert(object, Type, object, CultureInfo)

Converts Importance to a boolean value.

Declaration

cs-api-definition
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)

Parameters

value

object

The Importance that will be used for conversion.

targetType

Type

This parameter is not used.

parameter

object

The Importance that will be used for conversion.

culture

CultureInfo

This parameter is not used.

Returns

object

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

ConvertBack(object, Type, object, CultureInfo)

Converts a boolean value to a Importance.

Declaration

cs-api-definition
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)

Parameters

value

object

The Importance that will be used for conversion.

targetType

Type

This parameter is not used.

parameter

object

The Importance that will be used for conversion.

culture

CultureInfo

This parameter is not used.

Returns

object

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