Editar

Partilhar via


DetailsView.InitializeRow(DetailsViewRow, DataControlField) Method

Definition

Initializes the specified DetailsViewRow object.

protected:
 virtual void InitializeRow(System::Web::UI::WebControls::DetailsViewRow ^ row, System::Web::UI::WebControls::DataControlField ^ field);
protected virtual void InitializeRow (System.Web.UI.WebControls.DetailsViewRow row, System.Web.UI.WebControls.DataControlField field);
abstract member InitializeRow : System.Web.UI.WebControls.DetailsViewRow * System.Web.UI.WebControls.DataControlField -> unit
override this.InitializeRow : System.Web.UI.WebControls.DetailsViewRow * System.Web.UI.WebControls.DataControlField -> unit
Protected Overridable Sub InitializeRow (row As DetailsViewRow, field As DataControlField)

Parameters

row
DetailsViewRow

The DetailsViewRow to initialize.

field
DataControlField

The DataControlField that corresponds to the row.

Remarks

The InitializeRow method is a helper method called by the DetailsView control to initialize the specified DetailsViewRow object. The row is initialized for the DataControlField object contained in the field parameter.

Notes to Inheritors

When extending the DetailsView class, you can override this method to create your own custom row.

Applies to

See also