DataGridColumnStyle.SetDataGridInColumn Method (DataGrid)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Sets the System.Windows.Forms.DataGrid for the column.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected virtual void SetDataGridInColumn(
	DataGrid value
)

This method is typically overridden by derived classes to do special processing when the DataGridColumnStyle is added to System.Windows.Forms.DataGrid. For example, the DataGridTextBoxColumn uses this method to add the DataGridTextBox as a child of the System.Windows.Forms.DataGrid.

.NET Framework
Available since 1.1
Return to top
Show: