9 instantiations of DesignBinding
System.Windows.Forms.Design (9)
System\Windows\Forms\Design\DataSourceListEditor.cs (1)
27
DesignBinding oldSelection =
new
(value, "");
System\Windows\Forms\Design\DesignBinding.cs (1)
8
public static DesignBinding Null { get; } =
new
(null, null);
System\Windows\Forms\Design\DesignBindingPicker.cs (7)
1704
FillTree(new
DesignBinding
(newProjectDataSource, ""));
2314
return new
DesignBinding
(DataSource, "");
2416
return new
DesignBinding
(DataSource, DataMember);
2422
return (newBindingSource is null) ? DesignBinding.Null : new
DesignBinding
(newBindingSource, "");
2586
return new
DesignBinding
(newDataSource, "");
2598
return (newBindingSource is null) ? DesignBinding.Null : new
DesignBinding
(newBindingSource, "");
2661
return (newBindingSource is null) ? DesignBinding.Null : new
DesignBinding
(newBindingSource, designBindingMember);
22 references to DesignBinding
System.Windows.Forms.Design (21)
System\Windows\Forms\Design\DataSourceListEditor.cs (2)
27
DesignBinding
oldSelection = new(value, "");
28
DesignBinding
? newSelection = _designBindingPicker.Pick(context, provider,
System\Windows\Forms\Design\DesignBinding.cs (1)
8
public static
DesignBinding
Null { get; } = new(null, null);
System\Windows\Forms\Design\DesignBindingPicker.cs (18)
110
private
DesignBinding
? _selectedItem; // Describes the initial selection on open, and the final selection on close
374
public
DesignBinding
? Pick(ITypeDescriptorContext? context,
381
DesignBinding
initialSelectedItem)
432
DesignBinding
? finalSelectedItem = _selectedItem;
517
private void FillTree(
DesignBinding
initialSelectedItem)
2193
public virtual
DesignBinding
? OnSelect()
2312
public override
DesignBinding
OnSelect()
2411
public override
DesignBinding
OnSelect()
2422
return (newBindingSource is null) ?
DesignBinding
.Null : new DesignBinding(newBindingSource, "");
2445
public override
DesignBinding
OnSelect()
2447
return
DesignBinding
.Null;
2568
public override
DesignBinding
OnSelect()
2590
return
DesignBinding
.Null;
2598
return (newBindingSource is null) ?
DesignBinding
.Null : new DesignBinding(newBindingSource, "");
2601
return
DesignBinding
.Null;
2626
public override
DesignBinding
OnSelect()
2657
return
DesignBinding
.Null;
2661
return (newBindingSource is null) ?
DesignBinding
.Null : new DesignBinding(newBindingSource, designBindingMember);
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\DesignBindingTests.cs (1)
13
var
nullBinding = DesignBinding.Null;