Class
FlagEnumToVisibilityConverter

Represents a converter, which converts Enum values to a Visibility value using the given parameter.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class FlagEnumToVisibilityConverter : IValueConverter

Inheritance: objectFlagEnumToVisibilityConverter

Implements: IValueConverter

Constructors

FlagEnumToVisibilityConverter()

Declaration

cs-api-definition
public FlagEnumToVisibilityConverter()

Methods

Convert(object, Type, object, CultureInfo)

Converts an Enum value to a Visibility value.

Declaration

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

Parameters

value

object

The Enum value .

targetType

Type

This parameter is not used.

parameter

object

A value, which will be checked for containment in the passed value.

culture

CultureInfo

This parameter is not used.

Returns

object

Visibility.Visible if the value contains the specified parameter.

ConvertBack(object, Type, object, CultureInfo)

Not implemented.

Declaration

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

Parameters

value

object

targetType

Type

parameter

object

culture

CultureInfo

Returns

object