Base:
property
BindingContext
System.Windows.Forms.Control.BindingContext
2 overrides of BindingContext
System.Windows.Forms (1)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
216public override BindingContext? BindingContext
System.Windows.Forms.Tests (1)
System\Windows\Forms\ErrorProviderTests.cs (1)
1385public override BindingContext BindingContext => null;
13 writes to BindingContext
System.Windows.Forms (1)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
263BindingContext = bm;
System.Windows.Forms.Tests (12)
System\Windows\Forms\AccessibleObjects\ListBox.ListBoxItemAccessibleObjectTests.cs (1)
20BindingContext = []
System\Windows\Forms\ContainerControlTests.cs (11)
350BindingContext = value 356control.BindingContext = value; 361control.BindingContext = null; 381control.BindingContext = value1; 386control.BindingContext = value1; 392control.BindingContext = value2; 399control.BindingContext = value3; 586control.BindingContext = value1; 591control.BindingContext = value1; 597control.BindingContext = value2; 604control.BindingContext = value3;
38 references to BindingContext
System.Windows.Forms (4)
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (4)
272if (_parentControl is not null && _dataSource is not null && _parentControl.BindingContext is not null) 274_errorManager = _parentControl.BindingContext[_dataSource, _dataMember]; 310if (_parentControl is not null && _parentControl.BindingContext is not null && value is not null && !string.IsNullOrEmpty(_dataMember)) 315_errorManager = _parentControl.BindingContext[value, _dataMember];
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
716currencyManager = BindingContext?[_liveDataGridView.DataSource, _liveDataGridView.DataMember] as CurrencyManager;
System.Windows.Forms.Tests (33)
System\Windows\Forms\ContainerControlTests.cs (14)
38Assert.NotNull(control.BindingContext); 39Assert.Same(control.BindingContext, control.BindingContext); 352Assert.Same(value, control.BindingContext); 357Assert.Same(value, control.BindingContext); 362Assert.NotNull(control.BindingContext); 382Assert.Same(value1, control.BindingContext); 387Assert.Same(value1, control.BindingContext); 393Assert.Equal(value2, control.BindingContext); 400Assert.Same(value3, control.BindingContext); 587Assert.Same(value1, control.BindingContext); 592Assert.Same(value1, control.BindingContext); 598Assert.Equal(value2, control.BindingContext); 605Assert.Same(value3, control.BindingContext);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (3)
45Assert.NotNull(control.BindingContext); 46Assert.Same(control.BindingContext, control.BindingContext);
System\Windows\Forms\DomainUpDownTests.cs (1)
46_sub.BindingContext.Should().NotBeNull();
System\Windows\Forms\FormTests.cs (3)
43Assert.NotNull(control.BindingContext); 44Assert.Same(control.BindingContext, control.BindingContext);
System\Windows\Forms\PropertyGridTests.cs (3)
43Assert.NotNull(control.BindingContext); 44Assert.Same(control.BindingContext, control.BindingContext);
System\Windows\Forms\ToolStripPanelTests.cs (3)
34Assert.NotNull(control.BindingContext); 35Assert.Same(control.BindingContext, control.BindingContext);
System\Windows\Forms\UpDownBaseTests.cs (3)
32Assert.NotNull(control.BindingContext); 33Assert.Same(control.BindingContext, control.BindingContext);
System\Windows\Forms\UserControlTests.cs (3)
38Assert.NotNull(control.BindingContext); 39Assert.Same(control.BindingContext, control.BindingContext);