IFieldTemplateFactory 接口

定义

定义由创建字段模板的对象实现的接口。Defines an interface implemented by objects that create field templates.

public interface class IFieldTemplateFactory
public interface IFieldTemplateFactory
type IFieldTemplateFactory = interface
Public Interface IFieldTemplateFactory
派生

注解

此类必须由类实现才能 FieldTemplateFactory 创建字段模板。This class must be implemented by the FieldTemplateFactory class in order to create a field template. 此接口提供了初始化 FieldTemplateFactory 和创建字段模板的方法。This interface provides methods that initialize the FieldTemplateFactory and creates field templates.

方法

CreateFieldTemplate(MetaColumn, DataBoundControlMode, String)

使用 MetaColumn 类、DataBoundControlMode 类和 UIHint 属性创建字段模板的实例。Creates an instance of a field template using the MetaColumn class, the DataBoundControlMode class and UIHint property.

Initialize(MetaModel)

使用指定数据模型初始化 FieldTemplateFactoryInitializes a FieldTemplateFactory using the specified data model.

适用于