DataControlFieldDesigner.CreateTemplateField Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, creates a TemplateField field for the specified data field.
public:
abstract System::Web::UI::WebControls::TemplateField ^ CreateTemplateField(System::Web::UI::WebControls::DataControlField ^ dataControlField, System::Web::UI::WebControls::DataBoundControl ^ dataBoundControl);
public abstract System.Web.UI.WebControls.TemplateField CreateTemplateField (System.Web.UI.WebControls.DataControlField dataControlField, System.Web.UI.WebControls.DataBoundControl dataBoundControl);
abstract member CreateTemplateField : System.Web.UI.WebControls.DataControlField * System.Web.UI.WebControls.DataBoundControl -> System.Web.UI.WebControls.TemplateField
Public MustOverride Function CreateTemplateField (dataControlField As DataControlField, dataBoundControl As DataBoundControl) As TemplateField
Parameters
- dataControlField
- DataControlField
The data field.
- dataBoundControl
- DataBoundControl
The data-bound control that contains the data field.
Returns
The new template field.
Remarks
The CreateTemplateField method is invoked when you click on the link to convert a data field into a TemplateField in the fields editor.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.