FieldTemplateFactory FieldTemplateFactory FieldTemplateFactory FieldTemplateFactory Class

Definition

Creates a field template.

public ref class FieldTemplateFactory : System::Web::DynamicData::IFieldTemplateFactory
public class FieldTemplateFactory : System.Web.DynamicData.IFieldTemplateFactory
type FieldTemplateFactory = class
    interface IFieldTemplateFactory
Public Class FieldTemplateFactory
Implements IFieldTemplateFactory
Inheritance
FieldTemplateFactoryFieldTemplateFactoryFieldTemplateFactoryFieldTemplateFactory
Implements

Remarks

By default, this class implements the IFieldTemplateFactory interface, and uses the UserControl class to create field templates.

Constructors

FieldTemplateFactory() FieldTemplateFactory() FieldTemplateFactory() FieldTemplateFactory()

Initializes an instance of the FieldTemplateFactory class.

Properties

Model Model Model Model

Gets or sets the MetaModel that is associated with the FieldTemplateFactory class

TemplateFolderVirtualPath TemplateFolderVirtualPath TemplateFolderVirtualPath TemplateFolderVirtualPath

Gets or sets the folder in which to create a field template.

Methods

BuildVirtualPath(String, MetaColumn, DataBoundControlMode) BuildVirtualPath(String, MetaColumn, DataBoundControlMode) BuildVirtualPath(String, MetaColumn, DataBoundControlMode) BuildVirtualPath(String, MetaColumn, DataBoundControlMode)

Builds the virtual path to a field template based on the field template name and the mode.

CreateFieldTemplate(MetaColumn, DataBoundControlMode, String) CreateFieldTemplate(MetaColumn, DataBoundControlMode, String) CreateFieldTemplate(MetaColumn, DataBoundControlMode, String) CreateFieldTemplate(MetaColumn, DataBoundControlMode, String)

Creates an instance of a field template using the MetaColumn class, the DataBoundControlMode class and UIHint property.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetFieldTemplateVirtualPath(MetaColumn, DataBoundControlMode, String) GetFieldTemplateVirtualPath(MetaColumn, DataBoundControlMode, String) GetFieldTemplateVirtualPath(MetaColumn, DataBoundControlMode, String) GetFieldTemplateVirtualPath(MetaColumn, DataBoundControlMode, String)

Determines the virtual path of a field template.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize(MetaModel) Initialize(MetaModel) Initialize(MetaModel) Initialize(MetaModel)

Associates a MetaModel with a FieldTemplateFactory.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
PreprocessMode(MetaColumn, DataBoundControlMode) PreprocessMode(MetaColumn, DataBoundControlMode) PreprocessMode(MetaColumn, DataBoundControlMode) PreprocessMode(MetaColumn, DataBoundControlMode)

Changes the mode of the data column.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See Also