4 writes to DataSource
System.Windows.Forms (4)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (2)
875
dataGridViewCell.
DataSource
= this.DataSource;
912
this.
DataSource
= null;
winforms\Managed\System\WinForms\DataGridViewComboBoxColumn.cs (2)
130
this.ComboBoxCellTemplate.
DataSource
= value;
141
dataGridViewCell.
DataSource
= value;
20 references to DataSource
System.Windows.Forms (20)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (19)
184
if (this.
DataSource
!= value)
613
if (this.
DataSource
== null)
791
if (this.
DataSource
!= null)
875
dataGridViewCell.DataSource = this.
DataSource
;
878
if (this.HasItems && this.
DataSource
== null && this.Items.Count > 0)
911
Debug.Assert(sender == this.
DataSource
, "How can we get dispose notification from anything other than our DataSource?");
917
Debug.Assert(sender == this.
DataSource
);
918
Debug.Assert(this.
DataSource
is ISupportInitializeNotification);
921
ISupportInitializeNotification dsInit = this.
DataSource
as ISupportInitializeNotification;
1020
if (cm == null && this.
DataSource
!= null && dataGridView != null && dataGridView.BindingContext != null && !(this.
DataSource
== Convert.DBNull))
1022
ISupportInitializeNotification dsInit = this.
DataSource
as ISupportInitializeNotification;
1033
cm = (CurrencyManager)dataGridView.BindingContext[this.
DataSource
];
1547
comboBox.DataSource = this.
DataSource
;
1550
if (this.HasItems && this.
DataSource
== null && this.Items.Count > 0)
1604
this.DataManager = this.DataGridView.BindingContext[this.
DataSource
, displayBindingMember.BindingPath] as CurrencyManager;
1632
this.DataManager = this.DataGridView.BindingContext[this.
DataSource
, valueBindingMember.BindingPath] as CurrencyManager;
2715
IComponent component = this.
DataSource
as IComponent;
2721
ISupportInitializeNotification dsInit = this.
DataSource
as ISupportInitializeNotification;
winforms\Managed\System\WinForms\DataGridViewComboBoxColumn.cs (1)
122
return this.ComboBoxCellTemplate.
DataSource
;