130 references to Items
System.Messaging (3)
System\Messaging\Design\QueuePathDialog.cs (3)
230
this.pathType.
Items
.Add(Res.GetString(Res.RefByPath));
231
this.pathType.
Items
.Add(Res.GetString(Res.RefByFormatName));
232
this.pathType.
Items
.Add(Res.GetString(Res.RefByLabel));
System.Web.Entity.Design (7)
System\Data\WebControls\Design\EntityDataSourceConfigureObjectContextPanel.cs (3)
363
_containerNameComboBox.
Items
.Clear();
364
_containerNameComboBox.
Items
.AddRange(containerNames.ToArray());
371
_namedConnectionComboBox.
Items
.AddRange(namedConnections.ToArray());
System\Data\WebControls\Design\EntityDataSourceDataSelectionPanel.cs (4)
273
_entitySetComboBox.
Items
.Clear();
274
_entitySetComboBox.
Items
.AddRange(entitySetNames.ToArray());
305
_entityTypeFilterComboBox.
Items
.Clear();
306
_entityTypeFilterComboBox.
Items
.AddRange(entityTypeFilters.ToArray());
System.Web.Mobile (54)
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (11)
244
_cbAvailableFilters.
Items
.Clear();
251
_cbAvailableFilters.
Items
.Add(node);
361
if (_cbAvailableFilters.
Items
.Count > 0)
364
(DeviceFilterNode) _cbAvailableFilters.
Items
[0];
383
int index = _cbAvailableFilters.
Items
.IndexOf(currentFilter);
384
if((index + 1) < _cbAvailableFilters.
Items
.Count)
387
_cbAvailableFilters.
Items
[index + 1];
392
_cbAvailableFilters.
Items
[index - 1];
407
foreach(DeviceFilterNode filter in _cbAvailableFilters.
Items
)
461
_cbAvailableFilters.
Items
.Add(CreateExternalFilter(""));
526
_cbAvailableFilters.
Items
.Remove(filter);
UI\MobileControls\Design\DeviceFilterEditorDialog.cs (1)
316
_cbCompare.
Items
.Add(property.Name);
UI\MobileControls\Design\ListGeneralPage.cs (2)
129
_decorationCombo.
Items
.AddRange(new object[] {
171
_selectTypeCombo.
Items
.AddRange(new object[] {
UI\MobileControls\Design\ObjectListCommandsPage.cs (2)
166
_cmbDefaultCommand.
Items
.Clear();
169
_cmbDefaultCommand.
Items
.Add(commandNode.Name);
UI\MobileControls\Design\ObjectListFieldsPage.cs (2)
161
_cmbDataField.
Items
.Clear();
189
_cmbDataField.
Items
.Add(propDesc.Name);
UI\MobileControls\Design\PropertyOverridesDialog.cs (15)
93
_cbChoices.
Items
.Clear();
225
foreach(ChoiceTreeNode choiceNode in _cbChoices.
Items
)
256
_cbChoices.
Items
.Add(newChoiceNode);
266
_cbChoices.
Items
303
if(_cbChoices.SelectedItem == null && _cbChoices.
Items
.Count > 0)
305
_cbChoices.SelectedItem = _cbChoices.
Items
[0];
432
_cbChoices.
Items
.Clear();
567
if (_cbChoices.
Items
.Count > 0)
570
foreach (ChoiceTreeNode choiceNode in _cbChoices.
Items
)
583
_cbChoices.
Items
.Clear();
1204
foreach(Object o in comboBox.
Items
)
1214
comboBox.
Items
.Clear();
1215
comboBox.
Items
.AddRange(_cachedComboBox.ToArray());
1218
int index = comboBox.
Items
.IndexOf(selectedItem);
1221
comboBox.SelectedItem = comboBox.
Items
[index];
UI\MobileControls\Design\StyleSheetDesigner.cs (5)
865
_mergedUI.CbStyles.
Items
.Clear();
872
_mergedUI.CbStyles.
Items
.Add(style.Name);
875
if (_mergedUI.CbStyles.
Items
.Count > 0)
882
_mergedUI.CbStyles.Enabled = (_mergedUI.CbStyles.
Items
.Count > 0);
966
if (_mergedUI.CbStyles.
Items
.Count == 0)
UI\MobileControls\Design\TemplatingOptionsDialog.cs (11)
178
_cmbChoices.
Items
.Clear();
182
_cmbChoices.
Items
.Add(SR.GetString(SR.DeviceFilter_NoChoice));
187
if (_cmbChoices.
Items
.Count > 0)
201
_cmbChoices.
Items
.Add(SR.GetString(SR.DeviceFilter_DefaultChoice));
209
_cmbChoices.
Items
.Add(DesignerUtility.ChoiceToUniqueIdentifier(choice));
226
Debug.Assert(_cmbChoices.
Items
.Count > 0);
236
_cmbSchemas.
Items
.Clear();
383
foreach (Object obj in cmb.
Items
)
396
_cmbChoices.Enabled = (_cmbChoices.
Items
.Count > 0);
397
_cmbSchemas.Enabled = (_cmbChoices.
Items
.Count > 1) &&
516
_cmbSchemas.
Items
.Remove(UrlToFriendlySchema(previousUrlSchema));
UI\MobileControls\Design\Util\UnsettableComboBox.cs (5)
90
Items
.Add(item);
95
if (
Items
.Count == 0)
97
Items
.Add(notSetText);
119
Items
.Clear();
123
Items
.Add(notSetText);
System.Windows.Forms (25)
winforms\Managed\System\WinForms\ComboBox.cs (22)
951
int itemCount =
Items
.Count + 1;
1088
return (index == -1) ? null :
Items
[index];
1550
Items
.AddRangeInternal(value);
2088
return FindStringInternal(s,
Items
, startIndex, false);
2131
return FindStringInternal(s,
Items
, startIndex, true, ignorecase);
2230
if (this.
Items
.Count > 0) {
2244
if (this.
Items
.Count > 0) {
2935
Items
.ClearInternal();
3053
Items
.AddRangeInternal(newItems);
3077
Items
.SetItemInternal(index,
Items
[index]);
3195
stringSource = new StringSource(GetStringsForAutoComplete(
Items
));
3202
stringSource.RefreshList(GetStringsForAutoComplete(
Items
));
3289
Items
.ClearInternal();
3290
Items
.AddRangeInternal(value);
3326
Items
.SetItemInternal(index, value);
3399
for (int i = 0; i <
Items
.Count; i++) {
3433
object item =
Items
[SelectedIndex];
4674
return _owningComboBox.
Items
.IndexOf(_owningItem);
5244
if (index < 0 || index >= _owningComboBox.
Items
.Count) {
5248
var item = _owningComboBox.
Items
[index];
5254
return _owningComboBox.
Items
.Count;
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (2)
1535
comboBox.
Items
.Clear();
1552
comboBox.
Items
.AddRange(this.Items.InnerArray.ToArray());
winforms\Managed\System\WinForms\ToolStripComboBox.cs (1)
355
return ComboBox.
Items
;
System.Workflow.Activities (6)
Rules\Design\Dialogs\RuleSetDialog.cs (6)
94
this.reevaluationComboBox.
Items
.Add(Messages.ReevaluationNever);
95
this.reevaluationComboBox.
Items
.Add(Messages.ReevaluationAlways);
97
this.chainingBehaviourComboBox.
Items
.Add(Messages.Sequential);
98
this.chainingBehaviourComboBox.
Items
.Add(Messages.ExplicitUpdateOnly);
99
this.chainingBehaviourComboBox.
Items
.Add(Messages.FullChaining);
437
listViewItem.SubItems[2].Text = (string)this.reevaluationComboBox.
Items
[(int)rule.ReevaluationBehavior];
System.Workflow.ComponentModel (23)
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (23)
161
this.headerTextComboBox.
Items
.Add(this.headerFooterNone);
162
this.headerTextComboBox.
Items
.AddRange(this.headerFooterTemplates);
163
this.headerTextComboBox.
Items
.Add(this.headerFooterCustom);
174
int userHeaderIndex = this.headerTextComboBox.
Items
.IndexOf(userHeader);
179
this.headerTextComboBox.SelectedIndex = this.headerTextComboBox.
Items
.IndexOf(this.headerFooterCustom);
188
this.headerAlignmentComboBox.
Items
.AddRange(new object[] { HorizontalAlignment.Left, HorizontalAlignment.Center, HorizontalAlignment.Right });
189
if (this.headerAlignmentComboBox.
Items
.IndexOf(this.printDocument.PageSetupData.HeaderAlignment) != -1)
197
this.footerTextComboBox.
Items
.Add(this.headerFooterNone);
199
this.footerTextComboBox.
Items
.AddRange(this.headerFooterTemplates);
200
this.footerTextComboBox.
Items
.Add(this.headerFooterCustom);
210
int userFooterIndex = this.footerTextComboBox.
Items
.IndexOf(userFooter);
215
this.footerTextComboBox.SelectedIndex = this.footerTextComboBox.
Items
.IndexOf(this.headerFooterCustom);
224
this.footerAlignmentComboBox.
Items
.AddRange(new object[] { HorizontalAlignment.Left, HorizontalAlignment.Center, HorizontalAlignment.Right });
225
if (this.footerAlignmentComboBox.
Items
.IndexOf(this.printDocument.PageSetupData.FooterAlignment) != -1)
1146
this.paperSizeComboBox.
Items
.Clear();
1152
this.paperSizeComboBox.
Items
.Add(paperSize);
1169
foreach (PaperSize paperSize in this.paperSizeComboBox.
Items
)
1183
this.paperSizeComboBox.
Items
.Count > 0)
1185
this.paperSizeComboBox.SelectedItem = this.paperSizeComboBox.
Items
[0] as PaperSize;
1191
this.paperSourceComboBox.
Items
.Clear();
1195
this.paperSourceComboBox.
Items
.Add(paperSource);
1203
this.paperSourceComboBox.
Items
.Count > 0)
1205
this.paperSourceComboBox.SelectedItem = this.paperSourceComboBox.
Items
[0] as PaperSource;
System.WorkflowServices (4)
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (4)
43
this.protectionLevelComboBox.
Items
.Add(SR2.GetString(SR2.UseRuntimeDefaults));
44
this.protectionLevelComboBox.
Items
.Add(ProtectionLevel.None);
45
this.protectionLevelComboBox.
Items
.Add(ProtectionLevel.Sign);
46
this.protectionLevelComboBox.
Items
.Add(ProtectionLevel.EncryptAndSign);
WsatUI (8)
MMCUI\TraceOptionsForm.cs (8)
102
comboBoxTraceLevel.
Items
.Add(CommandLineOption.TracingCritical);
103
comboBoxTraceLevel.
Items
.Add(CommandLineOption.TracingError);
104
comboBoxTraceLevel.
Items
.Add(CommandLineOption.TracingWarning);
105
comboBoxTraceLevel.
Items
.Add(CommandLineOption.TracingInformation);
106
comboBoxTraceLevel.
Items
.Add(CommandLineOption.TracingVerbose);
107
comboBoxTraceLevel.
Items
.Add(CommandLineOption.TracingAll);
108
comboBoxTraceLevel.
Items
.Add(CommandLineOption.TracingOff);
112
foreach (object item in comboBoxTraceLevel.
Items
)