Table of Contents

Class GetKeyValueConverter<T>

Namespace
HeBianGu.Service.Converter
Assembly
HeBianGu.Service.Converter.dll
public class GetKeyValueConverter<T> : MarkupValueConverterBase, IValueConverter, INotifyPropertyChanged where T : IComparable

Type Parameters

T
Inheritance
GetKeyValueConverter<T>
Implements
Derived
Inherited Members
Extension Methods

Properties

DefaultValue

public object DefaultValue { get; set; }

Property Value

object

Key1

public T Key1 { get; set; }

Property Value

T

Key10

public T Key10 { get; set; }

Property Value

T

Key2

public T Key2 { get; set; }

Property Value

T

Key3

public T Key3 { get; set; }

Property Value

T

Key4

public T Key4 { get; set; }

Property Value

T

Key5

public T Key5 { get; set; }

Property Value

T

Key6

public T Key6 { get; set; }

Property Value

T

Key7

public T Key7 { get; set; }

Property Value

T

Key8

public T Key8 { get; set; }

Property Value

T

Key9

public T Key9 { get; set; }

Property Value

T

Value1

public object Value1 { get; set; }

Property Value

object

Value10

public object Value10 { get; set; }

Property Value

object

Value2

public object Value2 { get; set; }

Property Value

object

Value3

public object Value3 { get; set; }

Property Value

object

Value4

public object Value4 { get; set; }

Property Value

object

Value5

public object Value5 { get; set; }

Property Value

object

Value6

public object Value6 { get; set; }

Property Value

object

Value7

public object Value7 { get; set; }

Property Value

object

Value8

public object Value8 { get; set; }

Property Value

object

Value9

public object Value9 { get; set; }

Property Value

object

Methods

Convert(object, Type, object, CultureInfo)

Converts a value.

public override 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

A converted value. If the method returns null, the valid null value is used.

ConvertBack(object, Type, object, CultureInfo)

Converts a value.

public override 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

A converted value. If the method returns null, the valid null value is used.