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