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