11 writes to EditValue
System.Windows.Forms.Design (3)
System\ComponentModel\Design\CollectionEditor.CollectionForm.cs (1)
113EditValue = newValue;
System\ComponentModel\Design\CollectionEditor.cs (2)
231localCollectionForm.EditValue = value; 268localCollectionForm.EditValue = null;
System.Windows.Forms.Design.Tests (8)
System\ComponentModel\Design\CollectionFormTests.cs (8)
45EditValue = value 51form.EditValue = value; 90EditValue = new List<int> { 1, 2 }, 201EditValue = new List<int> { 1, 2 }, 260EditValue = new List<int> { 1, 2 }, 319EditValue = new List<int> { 1, 2 }, 380EditValue = new List<int> { 1, 2 }, 435EditValue = new List<int> { 1, 2 },
24 references to EditValue
System.Windows.Forms.Design (8)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
749if (EditValue is not null)
System\ComponentModel\Design\CollectionEditor.CollectionForm.cs (4)
56if (EditValue is IList list) 91get => _editor.GetItems(EditValue); 110object? newValue = _editor.SetItems(EditValue, value); 111if (newValue != EditValue)
System\ComponentModel\Design\CollectionEditor.cs (1)
259value = localCollectionForm.EditValue;
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
430Collection = (ToolStripItemCollection)EditValue;
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
407if (EditValue is not null)
System.Windows.Forms.Design.Tests (16)
System\ComponentModel\Design\CollectionFormTests.cs (16)
27Assert.Null(form.EditValue); 47Assert.Same(value, form.EditValue); 52Assert.Same(value, form.EditValue); 72Assert.Null(form.EditValue); 78Assert.Null(form.EditValue); 95Assert.Equal(new object[] { 1, 2 }, form.EditValue); 101Assert.Equal(new object[] { 1, 2 }, form.EditValue); 147Assert.Null(form.EditValue); 155Assert.Null(form.EditValue); 206Assert.Equal(value ?? Array.Empty<object>(), form.EditValue); 214Assert.Equal(value ?? Array.Empty<object>(), form.EditValue); 265Assert.Equal("CustomSetItems", form.EditValue); 273Assert.Equal("CustomSetItems", form.EditValue); 324Assert.Equal(new object[] { 1, 2 }, form.EditValue); 332Assert.Equal(new object[] { 1, 2 }, form.EditValue); 440Assert.Equal(new object[] { 1, 2 }, form.EditValue);