Class
FilterMemberToEnabledConverter

Converts a FilterDescriptor.Member to a boolean value.

Definition

Namespace:Telerik.Windows.Controls.Data.DataFilter

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

cs-api-definition
public class FilterMemberToEnabledConverter : IValueConverter

Inheritance: objectFilterMemberToEnabledConverter

Implements: IValueConverter

Constructors

FilterMemberToEnabledConverter()

Declaration

cs-api-definition
public FilterMemberToEnabledConverter()

Methods

Convert(object, Type, object, CultureInfo)

Converts a FilterDescriptor.Member to a boolean value.

Declaration

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

Parameters

value

object

The value produced by the binding source.

targetType

Type

The type of the binding target property.

parameter

object

The converter parameter to use.

culture

CultureInfo

The culture to use in the converter.

Returns

object

If the FilterDescriptor.Member is null or empty return false, otherwise returns true.

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

The value that is produced by the binding target.

targetType

Type

The type to convert to.

parameter

object

The converter parameter to use.

culture

CultureInfo

The culture to use in the converter.

Returns

object

Throws a NotImplementedException.