Table of Contents

Method Convert

Namespace
Innova.Prism.Library.Converters
Assembly
Innova.Prism.Library.dll

Convert(object, Type, object, CultureInfo)

Converts an enum value to a boolean value.

public object Convert(object value, Type targetType, object trueValue, CultureInfo culture)

Parameters

value object

The enum value to convert.

targetType Type

The type of the target property.

trueValue object

The true value to compare against.

culture CultureInfo

The culture to use in the conversion.

Returns

object

True if the enum value equals the true value; otherwise, DependencyProperty.UnsetValue.