DynamicFieldDesigner.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.
Creates a TemplateField field for the specified data field.
public:
override System::Web::UI::WebControls::TemplateField ^ CreateTemplateField(System::Web::UI::WebControls::DataControlField ^ dataControlField, System::Web::UI::WebControls::DataBoundControl ^ dataBoundControl);
public override System.Web.UI.WebControls.TemplateField CreateTemplateField (System.Web.UI.WebControls.DataControlField dataControlField, System.Web.UI.WebControls.DataBoundControl dataBoundControl);
override this.CreateTemplateField : System.Web.UI.WebControls.DataControlField * System.Web.UI.WebControls.DataBoundControl -> System.Web.UI.WebControls.TemplateField
Public Overrides Function CreateTemplateField (dataControlField As DataControlField, dataBoundControl As DataBoundControl) As TemplateField
Parameters
- dataControlField
- DataControlField
The data field object.
- dataBoundControl
- DataBoundControl
The data-bound control that contains the data field object.
Returns
The new template field.
Remarks
The CreateTemplateField method is invoked by the designer when it converts a data control field into a TemplateField object.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.