27 writes to SelectedItem
System.Web.Entity.Design (4)
System\Data\WebControls\Design\EntityDataSourceConfigureObjectContextPanel.cs (2)
348_namedConnectionComboBox.SelectedItem = connStrBuilderItem; 393_containerNameComboBox.SelectedItem = selectedContainer;
System\Data\WebControls\Design\EntityDataSourceDataSelectionPanel.cs (2)
315_entityTypeFilterComboBox.SelectedItem = selectedEntityTypeFilter; 337_entitySetComboBox.SelectedItem = selectedEntitySet;
System.Web.Mobile (10)
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (4)
365_cbAvailableFilters.SelectedItem = filter; 386_cbAvailableFilters.SelectedItem = 391_cbAvailableFilters.SelectedItem = 396_cbAvailableFilters.SelectedItem = null;
UI\MobileControls\Design\PropertyOverridesDialog.cs (2)
305_cbChoices.SelectedItem = _cbChoices.Items[0]; 1221comboBox.SelectedItem = comboBox.Items[index];
UI\MobileControls\Design\StyleSheetDesigner.cs (1)
878_mergedUI.CbStyles.SelectedItem = CurrentStyle.Name;
UI\MobileControls\Design\TemplatingOptionsDialog.cs (3)
217_cmbChoices.SelectedItem = SR.GetString(SR.DeviceFilter_DefaultChoice); 221_cmbChoices.SelectedItem = DesignerUtility.ChoiceToUniqueIdentifier(_designer.CurrentChoice); 227_cmbChoices.SelectedItem = SR.GetString(SR.DeviceFilter_NoChoice);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ToolStripComboBox.cs (1)
411set { ComboBox.SelectedItem = value;}
System.Workflow.ComponentModel (9)
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (9)
190this.headerAlignmentComboBox.SelectedItem = this.printDocument.PageSetupData.HeaderAlignment; 192this.headerAlignmentComboBox.SelectedItem = HorizontalAlignment.Center; 226this.footerAlignmentComboBox.SelectedItem = this.printDocument.PageSetupData.FooterAlignment; 228this.footerAlignmentComboBox.SelectedItem = HorizontalAlignment.Center; 1158this.paperSizeComboBox.SelectedItem = paperSize; 1176this.paperSizeComboBox.SelectedItem = paperSize; 1185this.paperSizeComboBox.SelectedItem = this.paperSizeComboBox.Items[0] as PaperSize; 1199this.paperSourceComboBox.SelectedItem = paperSource; 1205this.paperSourceComboBox.SelectedItem = this.paperSourceComboBox.Items[0] as PaperSource;
System.WorkflowServices (2)
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (2)
81this.protectionLevelComboBox.SelectedItem = workflowOperationListItem.Operation.ProtectionLevel; 85this.protectionLevelComboBox.SelectedItem = SR2.GetString(SR2.UseRuntimeDefaults);
WsatUI (1)
MMCUI\TraceOptionsForm.cs (1)
119comboBoxTraceLevel.SelectedItem = item;
47 references to SelectedItem
System.Web.Entity.Design (4)
System\Data\WebControls\Design\EntityDataSourceConfigureObjectContextPanel.cs (2)
224_configureObjectContext.SelectContainerName(_containerNameComboBox.SelectedItem as EntityDataSourceContainerNameItem); 259selectedConnection = _namedConnectionComboBox.SelectedItem as EntityConnectionStringBuilderItem;
System\Data\WebControls\Design\EntityDataSourceDataSelectionPanel.cs (2)
171_dataSelection.SelectEntitySetName(_entitySetComboBox.SelectedItem as EntityDataSourceEntitySetNameItem); 180_dataSelection.SelectEntityTypeFilter(_entityTypeFilterComboBox.SelectedItem as EntityDataSourceEntityTypeFilterItem);
System.Web.Mobile (12)
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (1)
708DeviceFilterNode filter = (DeviceFilterNode) _cbAvailableFilters.SelectedItem;
UI\MobileControls\Design\PropertyOverridesDialog.cs (3)
303if(_cbChoices.SelectedItem == null && _cbChoices.Items.Count > 0) 308ChoiceTreeNode choice = (ChoiceTreeNode) _cbChoices.SelectedItem; 1213Object selectedItem = comboBox.SelectedItem;
UI\MobileControls\Design\StyleSheetDesigner.cs (4)
765if (null != _mergedUI.CbStyles.SelectedItem) 767String styleName = (String) _mergedUI.CbStyles.SelectedItem; 912_tmpCurrentStyle = (Style) _styleSheet[((String) _mergedUI.CbStyles.SelectedItem).ToLower(CultureInfo.InvariantCulture)]; 913_deviceSpecificEditor.Refresh((String) _mergedUI.CbStyles.SelectedItem, _tmpCurrentStyle.DeviceSpecific);
UI\MobileControls\Design\TemplatingOptionsDialog.cs (4)
309String currentChoiceIdentifier = _cmbChoices.SelectedItem as String; 398(!((String)_cmbChoices.SelectedItem).Equals(SR.GetString(SR.DeviceFilter_NoChoice))); 456_designer.CurrentChoice = GetChoiceFromIdentifier((String) _cmbChoices.SelectedItem, _ds); 487DeviceSpecificChoice choice = GetChoiceFromIdentifier((String) _cmbChoices.SelectedItem, _ds);
System.Windows.Forms (11)
winforms\Managed\System\WinForms\ComboBox.cs (8)
1271if (SelectedItem != null && !BindingFieldEmpty) { 1275string candidate = GetItemText(SelectedItem); 1283return FilterItemOnProperty(SelectedItem).ToString(); //heinous. 1295selectedItem = SelectedItem; 3887object before = _owner.SelectedItem; 3889object after = _owner.SelectedItem; 4996var selectedItem = _owningComboBox.SelectedItem; 5008var selectedItem = _owningComboBox.SelectedItem;
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (2)
1704item = this.EditingComboBox.SelectedItem; 1741item = this.EditingComboBox.SelectedItem;
winforms\Managed\System\WinForms\ToolStripComboBox.cs (1)
410get { return ComboBox.SelectedItem; }
System.Workflow.ComponentModel (16)
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (16)
987this.printDocument.PageSetupData.HeaderAlignment = (HorizontalAlignment)this.headerAlignmentComboBox.SelectedItem; 999this.printDocument.PageSetupData.FooterAlignment = (HorizontalAlignment)this.footerAlignmentComboBox.SelectedItem; 1005if (this.paperSizeComboBox.SelectedItem != null) 1006this.printDocument.DefaultPageSettings.PaperSize = (PaperSize)this.paperSizeComboBox.SelectedItem; 1009if (this.paperSourceComboBox.SelectedItem != null) 1010this.printDocument.DefaultPageSettings.PaperSource = (PaperSource)this.paperSourceComboBox.SelectedItem; 1069PaperSize paperSize = this.paperSizeComboBox.SelectedItem as PaperSize; 1118PaperSize paperSize = this.paperSizeComboBox.SelectedItem as PaperSize; 1153if (null == this.paperSizeComboBox.SelectedItem && 1164if (null == this.paperSizeComboBox.SelectedItem) 1171if (null == this.paperSizeComboBox.SelectedItem && 1182if (null == this.paperSizeComboBox.SelectedItem && 1186this.printDocument.DefaultPageSettings.PaperSize = this.paperSizeComboBox.SelectedItem as PaperSize; 1196if (null == this.paperSourceComboBox.SelectedItem && 1202if (null == this.paperSourceComboBox.SelectedItem && 1206this.printDocument.DefaultPageSettings.PaperSource = this.paperSourceComboBox.SelectedItem as PaperSource;
System.WorkflowServices (2)
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (2)
541if (this.protectionLevelComboBox.SelectedItem.Equals(SR2.GetString(SR2.UseRuntimeDefaults))) 547item.Operation.ProtectionLevel = (ProtectionLevel) this.protectionLevelComboBox.SelectedItem;
WsatUI (2)
MMCUI\TraceOptionsForm.cs (2)
82if (comboBoxTraceLevel.SelectedItem != null) 84string traceLevelString = comboBoxTraceLevel.SelectedItem.ToString();