DataGridViewComboBoxCell.OnDataGridViewChanged Method ()


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

Called when the DataGridView property of the cell changes.

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

protected override void OnDataGridViewChanged()

Exception Condition

The DataSource property is not null and the value of either the DisplayMember property or the ValueMember property is not null or String.Empty and does not name a valid property or column in the data source.

.NET Framework
Available since 2.0
Return to top