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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.