NumericPagerField.CopyProperties(DataPagerField) Method

Definition

Copies the properties of the current NumericPagerField object to the specified DataPagerField object.

protected:
 override void CopyProperties(System::Web::UI::WebControls::DataPagerField ^ newField);
protected override void CopyProperties (System.Web.UI.WebControls.DataPagerField newField);
override this.CopyProperties : System.Web.UI.WebControls.DataPagerField -> unit
Protected Overrides Sub CopyProperties (newField As DataPagerField)

Parameters

newField
DataPagerField

The DataPagerField object to copy the properties of the current NumericPagerField object to.

Remarks

The CopyProperties method is a helper method. It is used by the CloneField method to copy the properties of the current NumericPagerField object to the DataPagerField object that is passed in the newField parameter.

Notes to Inheritors

Override the CopyProperties(DataPagerField) method to copy the new properties that were created in the derived class. Call the base class's CopyProperties(DataPagerField) method so that the properties of the NumericPagerField class are also copied.

Applies to

See also