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