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)
1688ValueMember = value 1697control.ValueMember = value; 1714control.ValueMember = value; 1722control.ValueMember = value; 1740control.ValueMember = value; 1748control.ValueMember = value; 1771control.ValueMember = value; 1779control.ValueMember = value; 1798Assert.Throws<ArgumentException>("newDisplayMember", (() => control.ValueMember = "NoSuchValue")); 1819control.ValueMember = value; 1827control.ValueMember = value; 1847Assert.Throws<ArgumentException>("value", (() => control.ValueMember = "NoSuchValue")); 1875control.ValueMember = "Value1"; 1881control.ValueMember = "Value1"; 1887control.ValueMember = "Value2"; 1893control.ValueMember = null; 1899control.ValueMember = string.Empty; 1907control.ValueMember = "Value1"; 1923ValueMember = valueMember, 1956ValueMember = "Value", 1981ValueMember = "ValueMember", 2026ValueMember = "Value", 2067ValueMember = "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)
130Assert.Empty(control.ValueMember);
System\Windows\Forms\ListBoxTests.cs (1)
133Assert.Empty(control.ValueMember);
System\Windows\Forms\ListControlTests.cs (19)
109Assert.Empty(control.ValueMember); 1692Assert.Equal(expected, control.ValueMember); 1700Assert.Equal(expected, control.ValueMember); 1717Assert.Equal(expected, control.ValueMember); 1725Assert.Equal(expected, control.ValueMember); 1743Assert.Equal(expected, control.ValueMember); 1751Assert.Equal(expected, control.ValueMember); 1774Assert.Equal(expected, control.ValueMember); 1782Assert.Equal(expected, control.ValueMember); 1800Assert.Empty(control.ValueMember); 1822Assert.Equal(expected, control.ValueMember); 1830Assert.Equal(expected, control.ValueMember); 1849Assert.Empty(control.ValueMember); 1876Assert.Equal("Value1", control.ValueMember); 1882Assert.Equal("Value1", control.ValueMember); 1888Assert.Equal("Value2", control.ValueMember); 1894Assert.Empty(control.ValueMember); 1900Assert.Empty(control.ValueMember); 1908Assert.Equal("Value1", control.ValueMember);