12 writes to TopIndex
System.Windows.Forms.Design (3)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (2)
331_listBox.TopIndex = ti + 1; 1000_listBox.TopIndex = ti - 1;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
754_selectedColumns.TopIndex = _selectedColumns.SelectedIndex;
System.Windows.Forms.Tests (9)
System\Windows\Forms\ListBoxTests.cs (9)
4317TopIndex = value 4323control.TopIndex = value; 4341control.TopIndex = value; 4346control.TopIndex = value; 4368control.TopIndex = value; 4376control.TopIndex = value; 4405control.TopIndex = value; 4413control.TopIndex = value; 4430control.TopIndex = 1;
13 references to TopIndex
System.Windows.Forms.Design (3)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (2)
326int ti = _listBox.TopIndex; 995int ti = _listBox.TopIndex;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
752if (_selectedColumns.SelectedIndex != -1 && _selectedColumns.TopIndex > _selectedColumns.SelectedIndex)
System.Windows.Forms.Tests (10)
System\Windows\Forms\ListBoxTests.cs (10)
126Assert.Equal(0, control.TopIndex); 4304Assert.Equal(0, control.TopIndex); 4319Assert.Equal(value, control.TopIndex); 4324Assert.Equal(value, control.TopIndex); 4342Assert.Equal(value, control.TopIndex); 4347Assert.Equal(value, control.TopIndex); 4369Assert.Equal(0, control.TopIndex); 4377Assert.Equal(0, control.TopIndex); 4406Assert.Equal(0, control.TopIndex); 4414Assert.Equal(0, control.TopIndex);