Copies the properties of the current System.Web.UI.WebControls.TemplateField-derived object to the specified System.Web.UI.WebControls.DataControlField object.
- newField
- The System.Web.UI.WebControls.DataControlField to copy the properties of the current System.Web.UI.WebControls.TemplateField to.
The TemplateField.CopyProperties(DataControlField) method is a helper method used to copy the properties of the current System.Web.UI.WebControls.TemplateField-derived object to the System.Web.UI.WebControls.DataControlField object created by the method.