FieldTemplateFactory.CreateFieldTemplate Method (MetaColumn, DataBoundControlMode, String)

 

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

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

abstract CreateFieldTemplate : 
        column:MetaColumn *
        mode:DataBoundControlMode *
        uiHint:string -> IFieldTemplate
override CreateFieldTemplate : 
        column:MetaColumn *
        mode:DataBoundControlMode *
        uiHint:string -> IFieldTemplate

Parameters

column
Type: System.Web.DynamicData.MetaColumn

Specifies the data column which the field template applies to.

mode
Type: System.Web.UI.WebControls.DataBoundControlMode

Specifies the display mode of the field template.

uiHint
Type: System.String

Specifies the field template to use.

Return Value

Type: System.Web.DynamicData.IFieldTemplate

An instance of the interface that the FieldTemplateFactory class implements.

.NET Framework
Available since 3.5
Return to top
Show: