29 instantiations of ControlBindingsCollection
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (1)
1536
bindings = Properties.AddValue(s_bindingsProperty, new
ControlBindingsCollection
(this));
System\Windows\Forms\DataBinding\BindableComponent.cs (1)
78
=> _dataBindings ??= new
ControlBindingsCollection
(this);
System.Windows.Forms.Tests (27)
System\Windows\Forms\ControlBindingsCollectionTests.cs (26)
26
ControlBindingsCollection collection =
new
(control);
39
ControlBindingsCollection collection =
new
(control)
58
ControlBindingsCollection collection =
new
(control)
70
ControlBindingsCollection collection =
new
(control);
91
ControlBindingsCollection collection =
new
(control);
125
ControlBindingsCollection collection =
new
(control);
142
ControlBindingsCollection collection =
new
(control);
159
ControlBindingsCollection collection =
new
(control);
176
ControlBindingsCollection collection =
new
(control);
193
ControlBindingsCollection collection =
new
(control);
210
ControlBindingsCollection collection =
new
(control);
227
ControlBindingsCollection collection =
new
(control);
240
ControlBindingsCollection collection =
new
(control);
271
ControlBindingsCollection collection =
new
(control);
279
ControlBindingsCollection collection =
new
(control);
291
ControlBindingsCollection collection1 =
new
(control1);
292
ControlBindingsCollection collection2 =
new
(control2);
303
ControlBindingsCollection collection =
new
(control);
323
ControlBindingsCollection collection =
new
(control);
339
ControlBindingsCollection collection =
new
(control);
351
ControlBindingsCollection collection =
new
(control);
365
ControlBindingsCollection collection1 =
new
(control1);
366
ControlBindingsCollection collection2 =
new
(control2);
381
ControlBindingsCollection collection =
new
(control);
399
ControlBindingsCollection collection =
new
(control);
412
ControlBindingsCollection collection =
new
(control);
System\Windows\Forms\PropertyManagerTests.cs (1)
163
ControlBindingsCollection controlBindings =
new
(control);
37 references to ControlBindingsCollection
System.Windows.Forms (8)
System\Windows\Forms\Control.cs (3)
931
Properties.GetValueOrDefault<
ControlBindingsCollection
>(s_bindingsProperty)?.Clear();
1525
public
ControlBindingsCollection
DataBindings
1534
if (!Properties.TryGetValue(s_bindingsProperty, out
ControlBindingsCollection
? bindings))
System\Windows\Forms\DataBinding\BindableComponent.cs (3)
16
private
ControlBindingsCollection
? _dataBindings;
71
/// Gets the <see cref="
ControlBindingsCollection
"/> for this bindable <see cref="Component"/>.
77
public
ControlBindingsCollection
DataBindings
System\Windows\Forms\DataBinding\IBindableComponent.cs (1)
11
ControlBindingsCollection
DataBindings { get; }
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
379
public new
ControlBindingsCollection
DataBindings => base.DataBindings;
System.Windows.Forms.Tests (29)
System\Windows\Forms\ControlBindingsCollectionTests.cs (28)
26
ControlBindingsCollection
collection = new(control);
39
ControlBindingsCollection
collection = new(control)
58
ControlBindingsCollection
collection = new(control)
70
ControlBindingsCollection
collection = new(control);
91
ControlBindingsCollection
collection = new(control);
101
ControlBindingsCollection
collection = control.DataBindings;
125
ControlBindingsCollection
collection = new(control);
142
ControlBindingsCollection
collection = new(control);
159
ControlBindingsCollection
collection = new(control);
176
ControlBindingsCollection
collection = new(control);
193
ControlBindingsCollection
collection = new(control);
210
ControlBindingsCollection
collection = new(control);
227
ControlBindingsCollection
collection = new(control);
240
ControlBindingsCollection
collection = new(control);
254
ControlBindingsCollection
collection = control.DataBindings;
271
ControlBindingsCollection
collection = new(control);
279
ControlBindingsCollection
collection = new(control);
291
ControlBindingsCollection
collection1 = new(control1);
292
ControlBindingsCollection
collection2 = new(control2);
303
ControlBindingsCollection
collection = new(control);
323
ControlBindingsCollection
collection = new(control);
339
ControlBindingsCollection
collection = new(control);
351
ControlBindingsCollection
collection = new(control);
365
ControlBindingsCollection
collection1 = new(control1);
366
ControlBindingsCollection
collection2 = new(control2);
381
ControlBindingsCollection
collection = new(control);
399
ControlBindingsCollection
collection = new(control);
412
ControlBindingsCollection
collection = new(control);
System\Windows\Forms\PropertyManagerTests.cs (1)
163
ControlBindingsCollection
controlBindings = new(control);