NextPreviousPagerField.CopyProperties(DataPagerField) Method

Definition

Copies the properties of the current NextPreviousPagerField 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 to copy the properties of the current NextPreviousPagerField to.

Remarks

The CopyProperties method is a helper method. It is used by the DataPagerField.CloneField method to copy the properties of the current NextPreviousPagerField 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. Be sure to call the base class's CopyProperties(DataPagerField) method so that the properties of the NextPreviousPagerField class are also copied.

Applies to

See also