Implemented interface member:
property
BindingContext
System.Windows.Forms.IBindableComponent.BindingContext
2 overrides of BindingContext
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ContainerControl.cs (1)
245
public override BindingContext
BindingContext
{
winforms\Managed\System\WinForms\ToolStrip.cs (1)
475
public override BindingContext
BindingContext
{
1 write to BindingContext
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ContainerControl.cs (1)
255
base.
BindingContext
= value;
30 references to BindingContext
System.Windows.Forms (30)
winforms\Managed\System\WinForms\ContainerControl.cs (1)
247
BindingContext bm = base.
BindingContext
;
winforms\Managed\System\WinForms\Control.cs (2)
1289
return p.
BindingContext
;
12623
BindingContext.UpdateBinding(
BindingContext
, DataBindings[i]);
winforms\Managed\System\WinForms\DataGrid.cs (10)
1541
if (listManager == null && this.
BindingContext
!= null && this.DataSource != null)
1542
return (CurrencyManager) this.
BindingContext
[this.DataSource, this.DataMember];
1593
if (newDataSource != null && this.
BindingContext
!= null && !(newDataSource == Convert.DBNull))
1594
this.listManager = (CurrencyManager) this.
BindingContext
[newDataSource, newDataMember];
1729
if (this.
BindingContext
== null)
1731
CurrencyManager originalListManager = (CurrencyManager) this.
BindingContext
[originalState.DataSource, originalState.DataMember];
1747
CurrencyManager originalListManager = (CurrencyManager) this.
BindingContext
[originalState.DataSource, originalState.DataMember];
5713
CurrencyManager childLM = (CurrencyManager) this.
BindingContext
[this.DataSource, newDataMember];
6011
if (this.
BindingContext
== null)
6015
BindingManagerBase bm = this.
BindingContext
[value, this.dataMember];
winforms\Managed\System\WinForms\DataGridParentRows.cs (4)
252
CurrencyManager childDataSource = (CurrencyManager) dataGrid.
BindingContext
[dgs.DataSource, dgs.DataMember];
624
object value = columns[colNum].GetColumnValueAtRow((CurrencyManager) dataGrid.
BindingContext
[dgs.DataSource, dgs.DataMember],
948
cols[i].Paint(g, paintBounds, (CurrencyManager) dataGrid.
BindingContext
[dgs.DataSource, dgs.DataMember],
949
dataGrid.
BindingContext
[dgs.DataSource, dgs.DataMember].Position, BackBrush, ForeBrush, alignToRight);
winforms\Managed\System\WinForms\DataGridState.cs (1)
195
CurrencyManager source = (CurrencyManager)owner.LinkingRow.DataGrid.
BindingContext
[owner.DataSource, owner.DataMember];
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (4)
1020
if (cm == null && this.DataSource != null && dataGridView != null && dataGridView.
BindingContext
!= null && !(this.DataSource == Convert.DBNull))
1033
cm = (CurrencyManager)dataGridView.
BindingContext
[this.DataSource];
1604
this.DataManager = this.DataGridView.
BindingContext
[this.DataSource, displayBindingMember.BindingPath] as CurrencyManager;
1632
this.DataManager = this.DataGridView.
BindingContext
[this.DataSource, valueBindingMember.BindingPath] as CurrencyManager;
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (5)
1149
if (this.owner.
BindingContext
== null)
1160
if (this.dataSource != null && this.owner.
BindingContext
!= null && !(this.dataSource == Convert.DBNull))
1174
this.currencyManager = this.owner.
BindingContext
[this.dataSource, this.dataMember] as CurrencyManager;
1620
if (this.owner.
BindingContext
== null)
1633
CurrencyManager cm = this.owner.
BindingContext
[newDataSource] as CurrencyManager;
winforms\Managed\System\WinForms\ListControl.cs (2)
771
if (newDataSource != null &&
BindingContext
!= null && !(newDataSource == Convert.DBNull)) {
772
newDataManager = (CurrencyManager)
BindingContext
[newDataSource, newDisplayMember.BindingPath];
winforms\Managed\System\WinForms\ToolStrip.cs (1)
485
return p.
BindingContext
;