3 writes to ValueMember
System.Windows.Forms (3)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
653dataGridViewCell.ValueMember = ValueMember;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxColumn.cs (2)
390ComboBoxCellTemplate.ValueMember = value; 403dataGridViewCell.ValueMember = value;
19 references to ValueMember
System.Windows.Forms (19)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (18)
169InitializeValueMemberPropertyDescriptor(ValueMember); 173Debug.Assert(ValueMember is not null && ValueMember.Length > 0); 653dataGridViewCell.ValueMember = ValueMember; 706InitializeValueMemberPropertyDescriptor(ValueMember); 953!string.IsNullOrEmpty(ValueMember) || !string.IsNullOrEmpty(DisplayMember)) 1066else if (!string.IsNullOrEmpty(ValueMember)) 1068PropertyDescriptor? propDesc = TypeDescriptor.GetProperties(item).Find(ValueMember, ignoreCase: true); 1131else if (!string.IsNullOrEmpty(ValueMember)) 1133PropertyDescriptor? propDesc = TypeDescriptor.GetProperties(item).Find(ValueMember, ignoreCase: true); 1291comboBox.ValueMember = ValueMember; 1535!string.IsNullOrEmpty(ValueMember) || !string.IsNullOrEmpty(DisplayMember)); 1547item = ItemFromComboBoxItems(rowIndex, string.IsNullOrEmpty(ValueMember) ? DisplayMember : ValueMember, value); 1578!string.IsNullOrEmpty(DisplayMember) || !string.IsNullOrEmpty(ValueMember)); 1590item = ItemFromComboBoxItems(RowIndex, string.IsNullOrEmpty(DisplayMember) ? ValueMember : DisplayMember, formattedValue); 1610InitializeValueMemberPropertyDescriptor(ValueMember); 2394!string.IsNullOrEmpty(DisplayMember) || !string.IsNullOrEmpty(ValueMember))
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxColumn.cs (1)
381return ComboBoxCellTemplate.ValueMember;