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