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