EnumToBooleanConverter Class

Enum to boolean converter class.

Definition

Namespace: Aliquo.Windows
Assembly: Aliquo.Windows (in Aliquo.Windows.dll) Version: 5.0.9179.22654
C#
public class EnumToBooleanConverter : IValueConverter
Inheritance
Object    EnumToBooleanConverter
Implements
IValueConverter

Constructors

EnumToBooleanConverterInitializes a new instance of the EnumToBooleanConverter class

Methods

Convert Converts to if the parameter matches the value of the enum; otherwise, if the parameter is or does not match.
ConvertBack If the value is it becomes the enumeration corresponding to the one indicated in the parameter.

Extension Methods

GetAttributeFromT Get attribute from a class.
(Defined by ObjectExtensions)
ValidateDataAnnotations Validate class with validator of DataAnnotations.
(Defined by ObjectExtensions)

See Also