3 writes to ValueMember
System.Windows.Forms (3)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
877dataGridViewCell.ValueMember = this.ValueMember;
winforms\Managed\System\WinForms\DataGridViewComboBoxColumn.cs (2)
398this.ComboBoxCellTemplate.ValueMember = value; 409dataGridViewCell.ValueMember = value;
19 references to ValueMember
System.Windows.Forms (19)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (18)
215InitializeValueMemberPropertyDescriptor(this.ValueMember); 223Debug.Assert(this.ValueMember != null && this.ValueMember.Length > 0); 877dataGridViewCell.ValueMember = this.ValueMember; 933InitializeValueMemberPropertyDescriptor(this.ValueMember); 1174!string.IsNullOrEmpty(this.ValueMember) || !string.IsNullOrEmpty(this.DisplayMember)) 1268else if (!string.IsNullOrEmpty(this.ValueMember)) 1270PropertyDescriptor propDesc = TypeDescriptor.GetProperties(item).Find(this.ValueMember, true /*caseInsensitive*/); 1328else if (!string.IsNullOrEmpty(this.ValueMember)) 1330PropertyDescriptor propDesc = TypeDescriptor.GetProperties(item).Find(this.ValueMember, true /*caseInsensitive*/); 1549comboBox.ValueMember = this.ValueMember; 1783!string.IsNullOrEmpty(this.ValueMember) || !string.IsNullOrEmpty(this.DisplayMember)); 1795item = ItemFromComboBoxItems(rowIndex, string.IsNullOrEmpty(this.ValueMember) ? this.DisplayMember : this.ValueMember, value); 1825!string.IsNullOrEmpty(this.DisplayMember) || !string.IsNullOrEmpty(this.ValueMember)); 1837item = ItemFromComboBoxItems(this.RowIndex, string.IsNullOrEmpty(this.DisplayMember) ? this.ValueMember : this.DisplayMember, formattedValue); 1857InitializeValueMemberPropertyDescriptor(this.ValueMember); 2677!string.IsNullOrEmpty(this.DisplayMember) || !string.IsNullOrEmpty(this.ValueMember))
winforms\Managed\System\WinForms\DataGridViewComboBoxColumn.cs (1)
390return this.ComboBoxCellTemplate.ValueMember;