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