DataGrid.InitializeItem(DataGridItem, DataGridColumn[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.