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

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:

C#
public class StringToBooleanConverter : IValueConverter

Inheritance: objectStringToBooleanConverter

Implements: IValueConverter

Constructors

C#
public StringToBooleanConverter()

Methods

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

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

The object value to convert.

targetTypeType

This parameter is not used.

parameterobject

The string the value must equals.

cultureCultureInfo

This parameter is not used.

Returns:

object

if value to string equals parameter; otherwise, .

This method is not implemented.

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

This parameter is not used.

targetTypeType

This parameter is not used.

parameterobject

This parameter is not used.

cultureCultureInfo

This parameter is not used.

Returns:

object

This method is not implemented.