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