Table of Contents

Class LookupDisplayConverter

Namespace
Tripous.Desktop
Assembly
Tripous.Desktop.dll

Converts lookup values to display text.

public class LookupDisplayConverter : IValueConverter
Inheritance
LookupDisplayConverter
Implements
IValueConverter
Inherited Members
Extension Methods

Constructors

LookupDisplayConverter(LookupDef)

Initializes a new instance of the LookupDisplayConverter class.

public LookupDisplayConverter(LookupDef LookupDef)

Parameters

LookupDef LookupDef

The lookup definition.

Methods

Convert(object, Type, object, CultureInfo)

Converts a lookup value to display text.

public object Convert(object Value, Type TargetType, object Parameter, CultureInfo Culture)

Parameters

Value object

The lookup value.

TargetType Type

The target type.

Parameter object

The converter parameter.

Culture CultureInfo

The culture.

Returns

object

The lookup display text.

ConvertBack(object, Type, object, CultureInfo)

Converts a value back to the source type.

public object ConvertBack(object Value, Type TargetType, object Parameter, CultureInfo Culture)

Parameters

Value object

The value to convert.

TargetType Type

The target type.

Parameter object

The converter parameter.

Culture CultureInfo

The culture.

Returns

object

A binding operation value.