File

projects/wms-framework/src/lib/basecomponentmodel/IValueConverter.ts

Description

Interface of IValueConverter

Index

Methods

Methods

Convert
Convert(value: any, targetType: RuntimeTypeInfo, parameter: any, culture: any)
Parameters :
Name Type Optional
value any No
targetType RuntimeTypeInfo No
parameter any No
culture any No
Returns : any
ConvertBack
ConvertBack(value: any, targetType: RuntimeTypeInfo, parameter: any, culture: any)
Parameters :
Name Type Optional
value any No
targetType RuntimeTypeInfo No
parameter any No
culture any No
Returns : any
import { RuntimeTypeInfo } from '../baseframework/ReflectionSupport';

/**
 * Interface of IValueConverter
 *
 * @export
 * @interface IValueConverter
 * @wInterface System.Windows.Data.IValueConverter
 */
export interface IValueConverter {
  Convert(
    value: any,
    targetType: RuntimeTypeInfo,
    parameter: any,
    culture: any
  ): any;
  ConvertBack(
    value: any,
    targetType: RuntimeTypeInfo,
    parameter: any,
    culture: any
  ): any;
}

result-matching ""

    No results matching ""