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)
116
column.DataPropertyName = ((
ListBoxItem
)_dataColumns.SelectedItem!).PropertyName;
497
_headerTextBox.Text = _nameTextBox.Text = ((
ListBoxItem
)_dataColumns.SelectedItem).PropertyName;
501
SetDefaultDataGridViewColumnType(((
ListBoxItem
)_dataColumns.SelectedItem).PropertyType);