DataGridViewColumnCollection(DataGridView) Constructor

Definition

Initializes a new instance of the DataGridViewColumnCollection class for the given DataGridView.

public:
 DataGridViewColumnCollection(System::Windows::Forms::DataGridView ^ dataGridView);
public DataGridViewColumnCollection (System.Windows.Forms.DataGridView dataGridView);
new System.Windows.Forms.DataGridViewColumnCollection : System.Windows.Forms.DataGridView -> System.Windows.Forms.DataGridViewColumnCollection

Parameters

dataGridView
DataGridView

The DataGridView that created this collection.

Applies to

See also