24 references to SelectedItems
System.Windows.Forms (24)
winforms\Managed\System\WinForms\ListBox.cs (24)
876
if (itemsCollection != null &&
SelectedItems
.Count > 0) {
877
return Items.IndexOfIdentifier(
SelectedItems
.GetObjectAt(0));
901
SelectedItems
.SetSelected(currentIndex, false);
903
SelectedItems
.SetSelected(value, true);
919
if (!
SelectedItems
.GetSelected(value)) {
923
SelectedItems
.SetSelected(value, true);
970
if (
SelectedItems
.Count > 0) {
971
return
SelectedItems
[0];
1030
SelectedItems
.EnsureUpToDate();
1374
if (
SelectedItems
.GetSelected(x)) {
1376
SelectedItems
.SetSelected(x, false);
1541
if (itemsCollection != null &&
SelectedItems
.GetSelected(index)) {
1691
SelectedItems
.SetSelected(i, false);
1717
SelectedItems
.SetSelected(i, true);
1801
SelectedItems
.Dirty();
1802
SelectedItems
.EnsureUpToDate();
1815
SelectedItems
.EnsureUpToDate();
2088
this.
SelectedItems
.Dirty();
2136
SelectedItems
.SetSelected(index, value);
2140
SelectedItems
.Dirty();
2155
SelectedObjectCollection currentSelections =
SelectedItems
;
3379
owner.
SelectedItems
.SetSelected(index, false);
3842
return owner.
SelectedItems
.Count;
3988
owner.
SelectedItems
.EnsureUpToDate();