1 write to DataGridViewColumn
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1210DataGridViewColumn = 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); 676if (item.DataGridViewColumn.Frozen) 689item.DataGridViewColumn.DisplayIndex = -1; 690_columnsPrivateCopy.Insert(selectedIndex + 1, item.DataGridViewColumn); 727if (item.DataGridViewColumn.Frozen && !_columnsPrivateCopy[selectedIndex - 1].Frozen) 729item.DataGridViewColumn.Frozen = false; 733item.DataGridViewColumn.DisplayIndex = -1; 734_columnsPrivateCopy.Insert(selectedIndex, item.DataGridViewColumn); 766TypeDescriptor.RemoveAssociation(lbi.DataGridViewColumn, lbi.DataGridViewColumnDesigner); 868TypeDescriptor.RemoveAssociation(lbi.DataGridViewColumn, lbi.DataGridViewColumnDesigner); 925DataGridViewColumn? column = listBoxItem?.DataGridViewColumn; 939DataGridViewColumn? col = listBoxItem?.DataGridViewColumn; 1072DataGridViewColumn column = ((ListBoxItem)_selectedColumns.SelectedItem).DataGridViewColumn; 1217TypeDescriptor.CreateAssociation(DataGridViewColumn, DataGridViewColumnDesigner); 1238return DataGridViewColumn.HeaderText; 1242AttributeCollection ICustomTypeDescriptor.GetAttributes() => TypeDescriptor.GetAttributes(DataGridViewColumn); 1244string? ICustomTypeDescriptor.GetClassName() => TypeDescriptor.GetClassName(DataGridViewColumn); 1246string? ICustomTypeDescriptor.GetComponentName() => TypeDescriptor.GetComponentName(DataGridViewColumn); 1249TypeConverter ICustomTypeDescriptor.GetConverter() => TypeDescriptor.GetConverter(DataGridViewColumn); 1251EventDescriptor? ICustomTypeDescriptor.GetDefaultEvent() => TypeDescriptor.GetDefaultEvent(DataGridViewColumn); 1253PropertyDescriptor? ICustomTypeDescriptor.GetDefaultProperty() => TypeDescriptor.GetDefaultProperty(DataGridViewColumn); 1256object? ICustomTypeDescriptor.GetEditor(Type type) => TypeDescriptor.GetEditor(DataGridViewColumn, type); 1258EventDescriptorCollection ICustomTypeDescriptor.GetEvents() => TypeDescriptor.GetEvents(DataGridViewColumn); 1260EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attrs) => TypeDescriptor.GetEvents(DataGridViewColumn, attrs!); 1268PropertyDescriptorCollection props = TypeDescriptor.GetProperties(DataGridViewColumn); 1304pd is ColumnTypePropertyDescriptor ? this : DataGridViewColumn; 1362return item.DataGridViewColumn.GetType().Name; 1373if (item?.DataGridViewColumn.GetType() != type)
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.cs (1)
36_columnTypePicker.Start(windowsFormsEditorService, discoveryService!, item.DataGridViewColumn.GetType());