Base:
property
SelectedIndex
System.Windows.Forms.ListControl.SelectedIndex
45 writes to SelectedIndex
System.Messaging (2)
System\Messaging\Design\QueuePathDialog.cs (2)
233this.pathType.SelectedIndex = 0; 434pathType.SelectedIndex = pathTypeIndex;
System.Web.Entity.Design (4)
System\Data\WebControls\Design\EntityDataSourceConfigureObjectContextPanel.cs (3)
232_containerNameComboBox.SelectedIndex = -1; 343_namedConnectionComboBox.SelectedIndex = -1; 389_containerNameComboBox.SelectedIndex = -1;
System\Data\WebControls\Design\EntityDataSourceDataSelectionPanel.cs (1)
333_entitySetComboBox.SelectedIndex = -1;
System.Web.Mobile (12)
UI\MobileControls\Design\ListGeneralPage.cs (8)
242_decorationCombo.SelectedIndex = IDX_DECORATION_NONE; 245_decorationCombo.SelectedIndex = IDX_DECORATION_BULLETED; 248_decorationCombo.SelectedIndex = IDX_DECORATION_NUMBERED; 259_selectTypeCombo.SelectedIndex = IDX_SELECTTYPE_DROPDOWN; 262_selectTypeCombo.SelectedIndex = IDX_SELECTTYPE_LISTBOX; 265_selectTypeCombo.SelectedIndex = IDX_SELECTTYPE_RADIO; 268_selectTypeCombo.SelectedIndex = IDX_SELECTTYPE_MULTISELECTLISTBOX; 271_selectTypeCombo.SelectedIndex = IDX_SELECTTYPE_CHECKBOX;
UI\MobileControls\Design\ObjectListFieldsPage.cs (1)
162_cmbDataField.SelectedIndex = -1;
UI\MobileControls\Design\StyleSheetDesigner.cs (1)
906_mergedUI.CbStyles.SelectedIndex = _oldSelectedIndex;
UI\MobileControls\Design\TemplatingOptionsDialog.cs (1)
189_cmbChoices.SelectedIndex = 0;
UI\MobileControls\Design\Util\UnsettableComboBox.cs (1)
113SelectedIndex = -1;
System.Windows.Forms (17)
winforms\Managed\System\WinForms\ComboBox.cs (15)
1098SelectedIndex = -1; 1102SelectedIndex = x; 1205SelectedIndex = -1; 1301SelectedIndex = -1; 1311SelectedIndex = index; 1353SelectedIndex = index; 2231SelectedIndex = 0; 2245SelectedIndex = 0; 2251this.SelectedIndex = FindString(this.MatchingText); 2280this.SelectedIndex = itemFound; 2934SelectedIndex = -1; 3058this.SelectedIndex = this.DataManager.Position; 3062SelectedIndex = selectedIndex; 4411owner.SelectedIndex = index; 4802_owningComboBox.SelectedIndex = GetCurrentIndex();
winforms\Managed\System\WinForms\DataGridViewComboBoxEditingControl.cs (1)
78this.SelectedIndex = -1;
winforms\Managed\System\WinForms\ToolStripComboBox.cs (1)
390set { ComboBox.SelectedIndex = value;}
System.Workflow.Activities (2)
Rules\Design\Dialogs\RuleSetDialog.cs (2)
109this.chainingBehaviourComboBox.SelectedIndex = (int)this.dialogRuleSet.ChainingBehavior; 157this.reevaluationComboBox.SelectedIndex = (int)rule.ReevaluationBehavior;
System.Workflow.ComponentModel (8)
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (8)
164this.headerTextComboBox.SelectedIndex = 0; 170this.headerTextComboBox.SelectedIndex = 0; //none 179this.headerTextComboBox.SelectedIndex = this.headerTextComboBox.Items.IndexOf(this.headerFooterCustom); 184this.headerTextComboBox.SelectedIndex = userHeaderIndex; 198this.footerTextComboBox.SelectedIndex = 0; 206this.footerTextComboBox.SelectedIndex = 0; //none 215this.footerTextComboBox.SelectedIndex = this.footerTextComboBox.Items.IndexOf(this.headerFooterCustom); 220this.footerTextComboBox.SelectedIndex = userFooterIndex;
42 references to SelectedIndex
System.Messaging (3)
System\Messaging\Design\QueuePathDialog.cs (3)
146this.lastPathType = this.pathType.SelectedIndex; 152this.lastPathType = this.pathType.SelectedIndex; 163this.lastPathType = this.pathType.SelectedIndex;
System.Web.Entity.Design (5)
System\Data\WebControls\Design\EntityDataSourceConfigureObjectContextPanel.cs (5)
175_configureObjectContext.SelectConnectionStringHasValue(_namedConnectionComboBox.SelectedIndex != -1); 185if (_namedConnectionComboBox.SelectedIndex != -1) 201_configureObjectContext.SelectConnectionStringHasValue(_namedConnectionComboBox.SelectedIndex != -1); 205if (_namedConnectionComboBox.SelectedIndex != -1) 257if (_namedConnectionComboBox.SelectedIndex != -1)
System.Web.Mobile (11)
UI\MobileControls\Design\ListGeneralPage.cs (2)
310switch (_decorationCombo.SelectedIndex) 360switch (_selectTypeCombo.SelectedIndex)
UI\MobileControls\Design\StyleSheetDesigner.cs (4)
879_oldSelectedIndex = _mergedUI.CbStyles.SelectedIndex; 902if (_mergedUI.CbStyles.SelectedIndex != _oldSelectedIndex 910if (_mergedUI.CbStyles.SelectedIndex >= 0) 915_oldSelectedIndex = _mergedUI.CbStyles.SelectedIndex;
UI\MobileControls\Design\TemplatingOptionsDialog.cs (3)
307_cmbChoices.SelectedIndex >= 0) 453if (0 <= _cmbChoices.SelectedIndex && 486Debug.Assert(_cmbChoices.SelectedIndex >= 0);
UI\MobileControls\Design\Util\UnsettableComboBox.cs (2)
64if (this.SelectedIndex == 0) 111if (SelectedIndex == 0)
System.Windows.Forms (19)
winforms\Managed\System\WinForms\ComboBox.cs (17)
1044if (SelectedIndex != value) { 1087int index = SelectedIndex; 1351if ((index != -1) && (index != SelectedIndex)) { 2279if (itemFound != this.SelectedIndex) { 2388if (DropDownStyle == ComboBoxStyle.DropDownList && SelectedIndex == index) { 2526selectedIndex = SelectedIndex; 2724if (this.DataManager != null && DataManager.Position != SelectedIndex) { 2726if (!FormattingEnabled || SelectedIndex != -1) { 2727this.DataManager.Position = this.SelectedIndex; 3019int selectedIndex = SelectedIndex; 3349return SelectedIndex == -1 && base.ShouldSerializeText(); 3432if (SelectedIndex != -1) { 3433object item = Items[SelectedIndex]; 4405bool selected = (index == owner.SelectedIndex); 4694return _owningComboBox.Focused && _owningComboBox.SelectedIndex == GetCurrentIndex(); 5307int selectedIndex = _owningComboBox.SelectedIndex; 5312int selectedIndex = _owningComboBox.SelectedIndex;
winforms\Managed\System\WinForms\DataGridViewComboBoxEditingControl.cs (1)
183if (this.SelectedIndex != -1)
winforms\Managed\System\WinForms\ToolStripComboBox.cs (1)
389get { return ComboBox.SelectedIndex; }
System.Workflow.Activities (2)
Rules\Design\Dialogs\RuleSetDialog.cs (2)
400rule.ReevaluationBehavior = (RuleReevaluationBehavior)this.reevaluationComboBox.SelectedIndex; 407this.dialogRuleSet.ChainingBehavior = (RuleChainingBehavior)this.chainingBehaviourComboBox.SelectedIndex;
System.Workflow.ComponentModel (2)
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (2)
979if (this.headerTextComboBox.SelectedIndex == 0) 991if (this.footerTextComboBox.SelectedIndex == 0)