Base:
property
SelectedIndex
System.Windows.Forms.ListControl.SelectedIndex
10 writes to SelectedIndex
System.Windows.Forms (10)
winforms\Managed\System\WinForms\ListBox.cs (8)
981
SelectedIndex
= index;
985
SelectedIndex
= -1;
1109
SelectedIndex
= index;
1924
SelectedIndex
= -1;
1940
this.
SelectedIndex
= this.DataManager.Position;
2015
this.
SelectedIndex
= this.DataManager.Position;
3383
owner.
SelectedIndex
= index;
4376
owner.
SelectedIndex
= index;
winforms\Managed\System\WinForms\MDIWindowDialog.cs (1)
74
itemList.
SelectedIndex
= selIndex;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
3904
DropDownListBox.
SelectedIndex
= iSel;
17 references to SelectedIndex
System.Windows.Forms (12)
winforms\Managed\System\WinForms\CheckedListBox.cs (5)
571
int index =
SelectedIndex
;
957
lastSelected =
SelectedIndex
;
1605
int index = CheckedListBox.
SelectedIndex
;
1737
if (ParentCheckedListBox.
SelectedIndex
== index) {
1741
if (AccessibilityImprovements.Level3 && ParentCheckedListBox.Focused && ParentCheckedListBox.
SelectedIndex
== -1) {
winforms\Managed\System\WinForms\ListBox.cs (7)
897
int currentIndex =
SelectedIndex
;
913
if (
SelectedIndex
!= -1) {
1895
if (this.DataManager != null && DataManager.Position !=
SelectedIndex
) {
1897
if (!FormattingEnabled || this.
SelectedIndex
!= -1)
1901
this.DataManager.Position = this.
SelectedIndex
;
3376
bool selected = (owner.
SelectedIndex
== index);
4145
int index = owner.
SelectedIndex
;
System.Workflow.Activities (3)
Designers\SetStateDesigner.cs (3)
272
if (dropDownList.
SelectedIndex
!= -1 && _selectedObject != null)
296
if (dropDownList.
SelectedIndex
< 0)
299
_selectedObject = dropDownList.Items[dropDownList.
SelectedIndex
];
System.WorkflowServices (2)
System\Workflow\Activities\Design\RichListBox.cs (2)
177
if (this.
SelectedIndex
< 0)
181
object selectedItem = Items[this.
SelectedIndex
];