C# Класс a7DocumentDbStudio.Converters.ValueConverter

Provides a base class for IValueConverters and IMultiValueConverters.
Наследование: System.Windows.Markup.MarkupExtension, IValueConverter, IMultiValueConverter
Показать файл Открыть проект

Открытые методы

Метод Описание
Convert ( object value ) : object

Converts a value.

Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Converts a value.

Convert ( object value, object parameter ) : object

Converts a value.

ConvertBack ( object value ) : object

Converts a value.

ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Converts a value.

ConvertBack ( object value, object parameter ) : object

Converts a value.

MultiConvert ( object values ) : object

Converts a set of values to a single value.

MultiConvert ( object values, Type targetType, object parameter, CultureInfo culture ) : object

Converts source values to a value for the Binding target. The data binding engine calls this method when it propagates the values from source bindings to the Binding target.

MultiConvert ( object values, object parameter ) : object

Converts a set of values to a single value.

MultiConvertBack ( object value ) : object[]

Converts a set of values to a single value.

MultiConvertBack ( object value, Type targetTypes, object parameter, CultureInfo culture ) : object[]

Converts a Binding target value to the source binding values.

MultiConvertBack ( object value, object parameter ) : object[]

Converts a set of values to a single value.

ProvideValue ( IServiceProvider serviceProvider ) : object

Returns this instace.

Приватные методы

Метод Описание
IMultiValueConverter ( object values, Type targetType, object parameter, CultureInfo culture ) : object
IMultiValueConverter ( object value, Type targetTypes, object parameter, CultureInfo culture ) : object[]
IValueConverter ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Описание методов

Convert() публичный Метод

Converts a value.
public Convert ( object value ) : object
value object The value.
Результат object

Convert() публичный Метод

Converts a value.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value produced by the source.
targetType System.Type The type of the target property.
parameter object The converter parameter to use.
culture System.Globalization.CultureInfo The culture to use in the converter.
Результат object

Convert() публичный Метод

Converts a value.
public Convert ( object value, object parameter ) : object
value object The value.
parameter object The parameter.
Результат object

ConvertBack() публичный Метод

Converts a value.
public ConvertBack ( object value ) : object
value object The value.
Результат object

ConvertBack() публичный Метод

Converts a value.
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value that is produced by the target.
targetType System.Type The type to convert to.
parameter object The converter parameter to use.
culture System.Globalization.CultureInfo The culture to use in the converter.
Результат object

ConvertBack() публичный Метод

Converts a value.
public ConvertBack ( object value, object parameter ) : object
value object The value.
parameter object The parameter.
Результат object

MultiConvert() публичный Метод

Converts a set of values to a single value.
public MultiConvert ( object values ) : object
values object The values.
Результат object

MultiConvert() публичный Метод

Converts source values to a value for the Binding target. The data binding engine calls this method when it propagates the values from source bindings to the Binding target.
public MultiConvert ( object values, Type targetType, object parameter, CultureInfo culture ) : object
values object The array of values that the source bindings in the produces. The value indicates that the source binding has no value to provide for conversion.
targetType System.Type The type of the target property.
parameter object The converter parameter to use.
culture System.Globalization.CultureInfo The culture to use in the converter.
Результат object

MultiConvert() публичный Метод

Converts a set of values to a single value.
public MultiConvert ( object values, object parameter ) : object
values object The values.
parameter object The parameter.
Результат object

MultiConvertBack() публичный Метод

Converts a set of values to a single value.
public MultiConvertBack ( object value ) : object[]
value object The value.
Результат object[]

MultiConvertBack() публичный Метод

Converts a Binding target value to the source binding values.
public MultiConvertBack ( object value, Type targetTypes, object parameter, CultureInfo culture ) : object[]
value object The value that the target produces.
targetTypes System.Type The array of types to convert to. The array length indicates the number and types of values that are suggested for the method to return.
parameter object The converter parameter to use.
culture System.Globalization.CultureInfo The culture to use in the converter.
Результат object[]

MultiConvertBack() публичный Метод

Converts a set of values to a single value.
public MultiConvertBack ( object value, object parameter ) : object[]
value object The value.
parameter object The parameter.
Результат object[]

ProvideValue() публичный закрытый Метод

Returns this instace.
public final ProvideValue ( IServiceProvider serviceProvider ) : object
serviceProvider IServiceProvider Object that can provide services for the markup extension.
Результат object