27 writes to ValueMember
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (3)
461EditingComboBox.ValueMember = value; 1279comboBox.ValueMember = null; 1294comboBox.ValueMember = ValueMember;
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
272set => base.ValueMember = value;
System.Windows.Forms.Tests (23)
System\Windows\Forms\ListControlTests.cs (23)
1686ValueMember = value 1695control.ValueMember = value; 1712control.ValueMember = value; 1720control.ValueMember = value; 1738control.ValueMember = value; 1746control.ValueMember = value; 1769control.ValueMember = value; 1777control.ValueMember = value; 1796Assert.Throws<ArgumentException>("newDisplayMember", (() => control.ValueMember = "NoSuchValue")); 1817control.ValueMember = value; 1825control.ValueMember = value; 1845Assert.Throws<ArgumentException>("value", (() => control.ValueMember = "NoSuchValue")); 1873control.ValueMember = "Value1"; 1879control.ValueMember = "Value1"; 1885control.ValueMember = "Value2"; 1891control.ValueMember = null; 1897control.ValueMember = string.Empty; 1905control.ValueMember = "Value1"; 1921ValueMember = valueMember, 1954ValueMember = "Value", 1979ValueMember = "ValueMember", 2024ValueMember = "Value", 2065ValueMember = "Value"
23 references to ValueMember
System.Windows.Forms (2)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
271get => base.ValueMember;
System\Windows\Forms\Controls\ListControl\ListControl.cs (1)
11[LookupBindingProperties(nameof(DataSource), nameof(DisplayMember), nameof(ValueMember), nameof(SelectedValue))]
System.Windows.Forms.Tests (21)
System\Windows\Forms\ComboBoxTests.cs (1)
128Assert.Empty(control.ValueMember);
System\Windows\Forms\ListBoxTests.cs (1)
131Assert.Empty(control.ValueMember);
System\Windows\Forms\ListControlTests.cs (19)
107Assert.Empty(control.ValueMember); 1690Assert.Equal(expected, control.ValueMember); 1698Assert.Equal(expected, control.ValueMember); 1715Assert.Equal(expected, control.ValueMember); 1723Assert.Equal(expected, control.ValueMember); 1741Assert.Equal(expected, control.ValueMember); 1749Assert.Equal(expected, control.ValueMember); 1772Assert.Equal(expected, control.ValueMember); 1780Assert.Equal(expected, control.ValueMember); 1798Assert.Empty(control.ValueMember); 1820Assert.Equal(expected, control.ValueMember); 1828Assert.Equal(expected, control.ValueMember); 1847Assert.Empty(control.ValueMember); 1874Assert.Equal("Value1", control.ValueMember); 1880Assert.Equal("Value1", control.ValueMember); 1886Assert.Equal("Value2", control.ValueMember); 1892Assert.Empty(control.ValueMember); 1898Assert.Empty(control.ValueMember); 1906Assert.Equal("Value1", control.ValueMember);