Base:
property
SelectedIndex
System.Windows.Forms.ListControl.SelectedIndex
13 writes to SelectedIndex
System.Windows.Forms.Tests (13)
System\Windows\Forms\ListControlTests.cs (13)
361
SelectedIndex
= -2,
377
SelectedIndex
= -1,
422
SelectedIndex
= -1,
453
SelectedIndex
= -1,
495
SelectedIndex
= -1,
522
SelectedIndex
= -1,
1920
SelectedIndex
= 0,
1953
SelectedIndex
= 0,
1978
SelectedIndex
= 0,
2003
SelectedIndex
= 0,
2023
SelectedIndex
= 0,
2062
SelectedIndex
= 0,
2081
SelectedIndex
= 0,
29 references to SelectedIndex
System.Windows.Forms.Tests (29)
System\Windows\Forms\ListControlTests.cs (29)
96
Assert.Equal(0, control.
SelectedIndex
);
351
Assert.Equal(1, control.
SelectedIndex
);
367
Assert.Equal(-2, control.
SelectedIndex
);
388
Assert.Equal(-1, control.
SelectedIndex
);
393
Assert.Equal(-1, control.
SelectedIndex
);
398
Assert.Equal(-1, control.
SelectedIndex
);
403
Assert.Equal(0, control.
SelectedIndex
);
408
Assert.Equal(0, control.
SelectedIndex
);
435
Assert.Equal(-1, control.
SelectedIndex
);
442
Assert.Equal(-1, control.
SelectedIndex
);
464
Assert.Equal(-1, control.
SelectedIndex
);
469
Assert.Equal(-1, control.
SelectedIndex
);
474
Assert.Equal(-1, control.
SelectedIndex
);
479
Assert.Equal(-1, control.
SelectedIndex
);
484
Assert.Equal(-1, control.
SelectedIndex
);
507
Assert.Equal(-1, control.
SelectedIndex
);
511
Assert.Equal(-1, control.
SelectedIndex
);
536
Assert.Equal(-1, control.
SelectedIndex
);
543
Assert.Equal(-1, control.
SelectedIndex
);
1927
Assert.Equal(0, control.
SelectedIndex
);
1933
Assert.Equal(0, control.
SelectedIndex
);
1960
Assert.Equal(-1, control.
SelectedIndex
);
1966
Assert.Equal(-1, control.
SelectedIndex
);
1985
Assert.Equal(-1, control.
SelectedIndex
);
1991
Assert.Equal(-1, control.
SelectedIndex
);
2006
Assert.Equal(0, control.
SelectedIndex
);
2012
Assert.Equal(0, control.
SelectedIndex
);
2068
Assert.Equal(-1, control.
SelectedIndex
);
2086
Assert.Equal(0, control.
SelectedIndex
);