Class
TypeToBooleanConverter

Represents a converter that compares a value to a type and returns a Boolean.

Definition

Namespace:Telerik.Windows.Controls.FieldList.Editing

Assembly:Telerik.Windows.Controls.PivotFieldList.dll

Syntax:

cs-api-definition
public class TypeToBooleanConverter : IValueConverter

Inheritance: objectTypeToBooleanConverter

Implements: IValueConverter

Constructors

TypeToBooleanConverter()

Declaration

cs-api-definition
public TypeToBooleanConverter()

Properties

ComparisonType

Gets or sets the ComparisonType to compare.

Declaration

cs-api-definition
public Type ComparisonType { get; set; }

Property Value

Type

Methods

Convert(object, Type, object, CultureInfo)

Converts a ComparisonType to Boolean.

Declaration

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

Parameters

value

object

The type to convert.

targetType

Type

This parameter is not used.

parameter

object

This parameter is not used.

culture

CultureInfo

This parameter is not used.

Returns

object

True if value inherits ComparisonType; otherwise, false.

ConvertBack(object, Type, object, CultureInfo)

This method is not implemented.

Declaration

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

Parameters

value

object

This parameter is not used.

targetType

Type

This parameter is not used.

parameter

object

This parameter is not used.

culture

CultureInfo

This parameter is not used.

Returns

object

This method is not implemented.