1 instantiation of ListBoxItem
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
738_dataColumns.Items.Add(new ListBoxItem(propertyDescriptor.PropertyType, propertyDescriptor.Name));
3 references to ListBoxItem
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (3)
116column.DataPropertyName = ((ListBoxItem)_dataColumns.SelectedItem!).PropertyName; 497_headerTextBox.Text = _nameTextBox.Text = ((ListBoxItem)_dataColumns.SelectedItem).PropertyName; 501SetDefaultDataGridViewColumnType(((ListBoxItem)_dataColumns.SelectedItem).PropertyType);