1 write to DataGridViewColumn
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1212DataGridViewColumn = column;
35 references to DataGridViewColumn
System.Windows.Forms.Design (35)
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (34)
101_userAddedColumns.Add(lbi.DataGridViewColumn); 102_columnsNames[lbi.DataGridViewColumn] = lbi.DataGridViewColumn.Name; 110DataGridViewColumn currentColumn = item.DataGridViewColumn; 134_columnsNames.Remove(listBoxItem.DataGridViewColumn, out string? columnSiteName); 136bool userAddedColumn = _userAddedColumns.Remove(listBoxItem.DataGridViewColumn); 140TypeDescriptor.RemoveAssociation(listBoxItem.DataGridViewColumn, listBoxItem.DataGridViewColumnDesigner); 678if (item.DataGridViewColumn.Frozen) 691item.DataGridViewColumn.DisplayIndex = -1; 692_columnsPrivateCopy.Insert(selectedIndex + 1, item.DataGridViewColumn); 729if (item.DataGridViewColumn.Frozen && !_columnsPrivateCopy[selectedIndex - 1].Frozen) 731item.DataGridViewColumn.Frozen = false; 735item.DataGridViewColumn.DisplayIndex = -1; 736_columnsPrivateCopy.Insert(selectedIndex, item.DataGridViewColumn); 768TypeDescriptor.RemoveAssociation(lbi.DataGridViewColumn, lbi.DataGridViewColumnDesigner); 870TypeDescriptor.RemoveAssociation(lbi.DataGridViewColumn, lbi.DataGridViewColumnDesigner); 927DataGridViewColumn? column = listBoxItem?.DataGridViewColumn; 941DataGridViewColumn? col = listBoxItem?.DataGridViewColumn; 1074DataGridViewColumn column = ((ListBoxItem)_selectedColumns.SelectedItem).DataGridViewColumn; 1219TypeDescriptor.CreateAssociation(DataGridViewColumn, DataGridViewColumnDesigner); 1240return DataGridViewColumn.HeaderText; 1244AttributeCollection ICustomTypeDescriptor.GetAttributes() => TypeDescriptor.GetAttributes(DataGridViewColumn); 1246string? ICustomTypeDescriptor.GetClassName() => TypeDescriptor.GetClassName(DataGridViewColumn); 1248string? ICustomTypeDescriptor.GetComponentName() => TypeDescriptor.GetComponentName(DataGridViewColumn); 1251TypeConverter ICustomTypeDescriptor.GetConverter() => TypeDescriptor.GetConverter(DataGridViewColumn); 1253EventDescriptor? ICustomTypeDescriptor.GetDefaultEvent() => TypeDescriptor.GetDefaultEvent(DataGridViewColumn); 1255PropertyDescriptor? ICustomTypeDescriptor.GetDefaultProperty() => TypeDescriptor.GetDefaultProperty(DataGridViewColumn); 1258object? ICustomTypeDescriptor.GetEditor(Type type) => TypeDescriptor.GetEditor(DataGridViewColumn, type); 1260EventDescriptorCollection ICustomTypeDescriptor.GetEvents() => TypeDescriptor.GetEvents(DataGridViewColumn); 1262EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attrs) => TypeDescriptor.GetEvents(DataGridViewColumn, attrs!); 1270PropertyDescriptorCollection props = TypeDescriptor.GetProperties(DataGridViewColumn); 1313return DataGridViewColumn; 1373return item.DataGridViewColumn.GetType().Name; 1384if (item?.DataGridViewColumn.GetType() != type)
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.cs (1)
36_columnTypePicker.Start(windowsFormsEditorService, discoveryService!, item.DataGridViewColumn.GetType());