Class
StringToBooleanConverter

Represents a converter that compares the string presentation of an object to the converter parameter and returns a Boolean.

Definition

Namespace:Telerik.Windows.Controls.FieldList.Editing

Assembly:Telerik.Windows.Controls.PivotFieldList.dll

Syntax:

cs-api-definition
public class StringToBooleanConverter : IValueConverter

Inheritance: objectStringToBooleanConverter

Implements: IValueConverter

Constructors

StringToBooleanConverter()

Declaration

cs-api-definition
public StringToBooleanConverter()

Methods

Convert(object, Type, object, CultureInfo)

Converts an object to string and compares it value to the parameter value. Returns to a Visibility enumeration value.

Declaration

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

Parameters

value

object

The object value to convert.

targetType

Type

This parameter is not used.

parameter

object

The string the value must equals.

culture

CultureInfo

This parameter is not used.

Returns

object

if value to string equals parameter; otherwise, .

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.