3 overrides of SelectedIndex
System.Windows.Forms (2)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
864
public override int
SelectedIndex
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
826
public override int
SelectedIndex
System.Windows.Forms.Tests (1)
System\Windows\Forms\ListControlTests.cs (1)
2906
public override int
SelectedIndex
{ get; set; }
3 writes to SelectedIndex
System.Windows.Forms (3)
System\Windows\Forms\Controls\ListControl\ListControl.cs (3)
380
SelectedIndex
= index;
399
SelectedIndex
= _dataManager.Position;
414
SelectedIndex
= _dataManager.Position;
2 references to SelectedIndex
System.Windows.Forms (2)
System\Windows\Forms\Controls\ListControl\ListControl.cs (2)
357
if (
SelectedIndex
!= -1 && _dataManager is not null)
359
object? currentItem = _dataManager[
SelectedIndex
];