using System;
using TyphoonUI;
namespace TyphoonUI
{
///
/// 绑定元素池
///
public class ScrollCellPoolBinding
{
public string CellName { get; set; } //元素名
public Func CreateFunc { get; set; } //构建代理
public int PreloadCount { get; set; } //预加载数量
public ScrollCellPoolBinding(string cellName, Func createFunc, int preloadCount = -1)
{
CellName = cellName;
CreateFunc = createFunc;
PreloadCount = preloadCount;
}
}
}