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