66 writes to Value
PresentationUI (6)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (6)
360Value = value, 382Value = newUser.Name, 668targetOwnerCell.Value = true; 700targetCell.Value = true; 743cell.Value = false; 811cell.Value = true;
System.Windows.Forms (10)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
10968dataGridViewCellNew.Value = dataGridViewCellNew.DefaultNewRowValue; 15451dataGridViewCellNew.Value = dataGridViewCellNew.DefaultNewRowValue;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
248_owner.Value = _owner.ParseFormattedValue(
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (1)
412HeaderCell.Value = value;
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
110dataGridViewCell.Value = Value;
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (1)
204dataGridViewCell.Value = Value;
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
168Value = DefaultNewRowValue;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (2)
215dataGridViewCell.Value = dataGridViewCell.DefaultNewRowValue; 682dataGridViewCell.Value = dataGridViewCell.DefaultNewRowValue;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
66dataGridViewCell.Value = Value;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (2)
53row.Cells[0].Value = "####"; 63row.Cells[0].Value = "####";
System.Windows.Forms.Tests (43)
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (1)
2384dataGridView.Rows[0].Cells[0].Value = "test1";
System\Windows\Forms\AccessibleObjects\DataGridViewTopLeftHeaderCellAccessibleObjectTests.cs (1)
161cell.Value = value;
System\Windows\Forms\DataGridViewCellTests.cs (24)
612Value = "Value" 661cell.Value = "Value"; 1260Value = "Value" 1309cell.Value = "Value"; 3326Value = "value", 3704Value = "Value" 3764cell.Value = "Value"; 4801control.Rows[0].Cells[1].Value = "Text"; 4802control.Rows[1].Cells[2].Value = "Text"; 4803control.Rows[1].Cells[3].Value = "Text"; 4804control.Rows[2].Cells[0].Value = "Text"; 4805control.Rows[2].Cells[1].Value = "Text"; 4806control.Rows[2].Cells[3].Value = "Text"; 4807control.Rows[3].Cells[1].Value = "Text"; 4808control.Rows[3].Cells[2].Value = "Text"; 4959Value = value 4988Value = value 5022cell.Value = value; 5052Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => cell.Value = value); 5073cell.Value = value1; 5111cell.Value = value1; 5152cell.Value = value1; 6469cell.Value = false; 6529cell.Value = false;
System\Windows\Forms\DataGridViewHeaderCellTests.cs (14)
2028Value = "value", 2114Value = "value", 3359Value = value 3380Value = value 3410Value = value 3432Value = value 3466Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => cell.Value = value); 3502cell.Value = value; 3536cell.Value = value; 3556cell.Value = value; 3586cell.Value = value; 3607Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => cell.Value = value1); 3645Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => cell.Value = value1); 3686Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => cell.Value = value1);
System\Windows\Forms\DataGridViewTests.cs (2)
3418_dataGridView[0, 0].Value = true; 3424_dataGridView[0, 1].Value = true;
System\Windows\Forms\DataGridViewTests.Rendering.cs (1)
150dataGridView.Rows[i].HeaderCell.Value = $"Row {i + 1}";
TestPassApp (1)
DataControls.cs (1)
35dataGridView1.Rows[0].Cells[0].Value = "Rose";
WinFormsControlsTest (4)
DataGridViewTest.cs (4)
37row.HeaderCell.Value = $"Row {i++}"; 75dataGridView1.Rows[0].Cells[1].Value = s_fonts[_cellFontIndex]; 78dataGridView1.Rows[1].Cells[1].Value = s_fonts[_columnHeaderFontIndex]; 81dataGridView1.Rows[2].Cells[1].Value = s_fonts[_rowHeaderFontIndex];
43 references to Value
PresentationUI (9)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (9)
89bool allowed = (bool)row.Cells[col].Value; 271return (string)cell.Value; 648bool isEveryoneOwner = (bool)everyoneRow.Cells[ownerColumnIndex].Value; 649bool isTargetOwner = (bool)targetRow.Cells[ownerColumnIndex].Value; 689everyoneHasPermission = (bool)everyoneCell.Value; 741if ((bool)cell.Value) 771bool allowOwner = (bool)cell.Value; 803enableCell = !((bool)everyoneCell.Value); 1031if (!((bool)this.Value))
System.Windows.Forms (20)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
14079&& dataGridViewColumn.HeaderCell.Value is string stringValue
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (2)
209return string.IsNullOrEmpty(Value?.ToString()?.Trim(' ')) || Value is DBNull
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
321|| string.IsNullOrEmpty(DataGridView.Rows[i].Cells[j].Value?.ToString())) 2394return GetDefaultToolTipText() ?? GetToolTipTextWithoutMnemonic(Value?.ToString());
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (2)
498if (string.IsNullOrEmpty(Value?.ToString()?.Trim(' ')) || Value is DBNull)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (1)
392if (HeaderCell.Value is string headerValue)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
110dataGridViewCell.Value = Value;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
815return string.IsNullOrEmpty(Value?.ToString()?.Trim(' ')) || Value is DBNull
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (1)
204dataGridViewCell.Value = Value;
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (2)
166if ((value && Value == ErrorBitmap) || (!value && Value == ErrorIcon))
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (2)
482return string.IsNullOrEmpty(Value?.ToString()?.Trim(' ')) || Value is DBNull
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
66dataGridViewCell.Value = Value;
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (2)
318return string.IsNullOrEmpty(Value?.ToString()?.Trim(' ')) || Value is DBNull
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject.cs (1)
66object? value = Owner.Value;
System.Windows.Forms.Tests (14)
System\Windows\Forms\DataGridViewCellTests.cs (3)
50Assert.Null(cell.Value); 3360Assert.Null(cell.Value); 3396Assert.Null(cell.Value);
System\Windows\Forms\DataGridViewHeaderCellTests.cs (5)
48Assert.Null(cell.Value); 2062Assert.Equal("value", cell.Value); 2098Assert.Null(cell.Value); 2148Assert.Equal("value", cell.Value); 2184Assert.Null(cell.Value);
System\Windows\Forms\DataGridViewRowTests.cs (4)
4076Assert.Null(Assert.Single(row.Cells.Cast<DataGridViewCell>()).Value); 4106Assert.Equal(expectedValue, Assert.Single(row.Cells.Cast<DataGridViewCell>()).Value); 5690Assert.Equal(expectedValue, Assert.Single(row.Cells.Cast<DataGridViewCell>()).Value); 5706Assert.Equal(expectedValue, Assert.Single(row.Cells.Cast<DataGridViewCell>()).Value);
System\Windows\Forms\DataGridViewTests.cs (2)
3690DataGridViewCellFormattingEventArgs cellFormattingEventArgs = new(0, 0, dataGridView.Rows[0].Cells[0].Value, dataGridView.Rows[0].Cells[0].ValueType, dataGridView.Rows[0].Cells[0].InheritedStyle); 3695cellFormattingEventArgs = new(0, 1, dataGridView.Rows[1].Cells[0].Value, dataGridView.Rows[1].Cells[0].ValueType, dataGridView.Rows[1].Cells[0].InheritedStyle);