Editare

Partajați prin


TemplatePagerField.CopyProperties(DataPagerField) Method

Definition

Copies the properties of the current TemplatePagerField 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 object to which the properties of the current TemplatePagerField instance will be copied.

Examples

ListView Web Server Control Overview

CreateField

DataPagerField

CloneField

Remarks

The CopyProperties method is a helper method. It is used by the CloneField method to copy the properties of the current TemplatePagerField 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 TemplatePagerField class are also copied.

Applies to