Copies the properties of the current object that is derived from the System.Web.UI.WebControls.ButtonFieldBase class to the specified System.Web.UI.WebControls.DataControlField object.
- newField
- The System.Web.UI.WebControls.DataControlField to which to copy the properties of the current System.Web.UI.WebControls.ButtonFieldBase.
The ButtonFieldBase.CopyProperties(DataControlField) method is a helper method that is used by the DataControlField.CloneField method to copy the properties of the current object that is derived from the System.Web.UI.WebControls.ButtonFieldBase class to the System.Web.UI.WebControls.DataControlField object that is passed in the newField parameter.