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