C# Class Com.Aote.ObjectTools.DataPagerConverter

为分页对象专做的把Count转换成PagedCollectionView对象的转换器,在分页组件中,必须使用 这个转换器把分页列表的Count属性转换成其所需的PagedCollectionView。
Inheritance: IValueConverter
Show file Open project: DuBin1988/newsellinggas

Public Methods

Method Description
Convert ( object value, Type targetType, object parameter, System culture ) : object

数据转换过程,根据value值,构造一个自定义的可枚举对象,然后根据这个可枚举对象,构造一个 PagedCollectionViewd对象。

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

Method Details

Convert() public method

数据转换过程,根据value值,构造一个自定义的可枚举对象,然后根据这个可枚举对象,构造一个 PagedCollectionViewd对象。
public Convert ( object value, Type targetType, object parameter, System culture ) : object
value object Count值
targetType System.Type
parameter object
culture System
return object

ConvertBack() public method

public ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
value object
targetType System.Type
parameter object
culture System
return object