Szerkesztés

Megosztás a következőn keresztül:


DataGrid.InitializeItem(DataGridItem, DataGridColumn[]) Method

Definition

Initializes the specified DataGridItem object.

protected:
 virtual void InitializeItem(System::Web::UI::WebControls::DataGridItem ^ item, cli::array <System::Web::UI::WebControls::DataGridColumn ^> ^ columns);
protected virtual void InitializeItem (System.Web.UI.WebControls.DataGridItem item, System.Web.UI.WebControls.DataGridColumn[] columns);
abstract member InitializeItem : System.Web.UI.WebControls.DataGridItem * System.Web.UI.WebControls.DataGridColumn[] -> unit
override this.InitializeItem : System.Web.UI.WebControls.DataGridItem * System.Web.UI.WebControls.DataGridColumn[] -> unit
Protected Overridable Sub InitializeItem (item As DataGridItem, columns As DataGridColumn())

Parameters

item
DataGridItem

The DataGridItem to initialize.

columns
DataGridColumn[]

An array of DataGridColumn objects that contains the columns in this DataGrid control.

Remarks

The InitializeItem method is a helper method used by the DataGrid class to initialize the specified DataGridItem object.

Note

This method is primarily used by control developers.

Applies to

See also