ButtonField.CopyProperties Method
.NET Framework 3.0
Copies the properties of the current ButtonField object to the specified DataControlField object.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
protected void CopyProperties ( DataControlField newField )
protected override function CopyProperties ( newField : DataControlField )
Not applicable.
Parameters
- newField
The DataControlField to which to copy the properties of the current ButtonField.
The CopyProperties method is a helper method that is used by the DataControlField.CloneField method to copy the properties of the current ButtonFieldBase-derived object to the DataControlField object that was created by the DataControlField.CloneField method.
Notes to Inheritors: When overriding the CopyProperties method in a derived class, call the CopyProperties method of the base class to ensure that all properties of the object are copied.Community Additions
ADD
Show: