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