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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.