60 references to Items
System.Windows.Forms (42)
winforms\Managed\System\WinForms\CheckedListBox.cs (1)
276
return(CheckedListBox.ObjectCollection)base.
Items
;
winforms\Managed\System\WinForms\ListBox.cs (30)
877
return
Items
.IndexOfIdentifier(SelectedItems.GetObjectAt(0));
1106
int cnt =
Items
.Count;
1108
if (String.Compare(value, GetItemText(
Items
[index]), true, CultureInfo.CurrentCulture) == 0) {
1211
Items
.AddRangeInternal(value);
1335
if (index < 0 || index >=
Items
.Count)
1354
string[] strings = new string[this.
Items
.Count];
1356
for (int i = 0; i <
Items
.Count; i ++) {
1357
strings[i] = GetItemText(
Items
[i]);
1433
return FindStringInternal(s,
Items
, startIndex, false);
1468
return FindStringInternal(s,
Items
, startIndex, true);
1689
int cnt =
Items
.Count;
1925
Items
.ClearInternal();
1951
int cnt =
Items
.Count;
2007
Items
.AddRangeInternal(newItems);
2037
Items
.SetItemInternal(index,
Items
[index]);
2085
Items
.ClearInternal();
2086
Items
.AddRangeInternal(value);
2120
Items
.SetItemInternal(index, value);
2185
s += ", Items.Count: " +
Items
.Count.ToString(CultureInfo.CurrentCulture);
2186
if (
Items
.Count > 0) {
2187
string z = GetItemText(
Items
[0]);
3200
int cnt = owner.
Items
.Count;
3989
return ((ObjectCollection)owner.
Items
).InnerArray;
4020
ObjectCollection items = owner.
Items
;
4035
ObjectCollection items = owner.
Items
;
4209
return ((ObjectCollection)owner.
Items
).InnerArray;
4341
bool selected = ((ObjectCollection)owner.
Items
).InnerArray.GetState(index, SelectedObjectMask);
4372
ObjectCollection items = owner.
Items
;
4388
ObjectCollection items = owner.
Items
;
winforms\Managed\System\WinForms\MDIWindowDialog.cs (1)
67
int n = itemList.
Items
.Add(new ListItem(all[i]));
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (10)
2525
if (DropDownListBox.
Items
.Count == 0) {
2551
string text = (string)DropDownListBox.
Items
[die.Index];
3862
DropDownListBox.
Items
.Clear();
3885
DropDownListBox.
Items
.Add(s);
3910
bool resizable = DropDownListBox.
Items
.Count > (DropDownListBox.Height / DropDownListBox.ItemHeight);
5987
if (lb.
Items
.Count == 0) {
6281
return _owningGridViewListBox.
Items
.IndexOf(_owningItem);
6488
if (index < 0 || index >= _owningGridViewListBox.
Items
.Count) {
6492
var item = _owningGridViewListBox.
Items
[index];
6498
return _owningGridViewListBox.
Items
.Count;
System.Workflow.Activities (2)
Designers\SetStateDesigner.cs (2)
299
_selectedObject = dropDownList.
Items
[dropDownList.SelectedIndex];
325
dropDownList.
Items
.Add(state.QualifiedName);
System.WorkflowServices (16)
System\Workflow\Activities\Design\OperationPickerDialog.cs (7)
133
if (this.operationsListBox.
Items
.Count == 0)
135
this.operationsListBox.
Items
.Add(new HelpListItem());
157
operationsListBox.
Items
.Add(serviceContractListItem);
313
if (operationsListBox.
Items
.Count > 0)
364
if (this.operationsListBox.
Items
.Count > 0 && this.operationsListBox.
Items
[0] is HelpListItem)
366
this.operationsListBox.
Items
.Clear();
System\Workflow\Activities\Design\RichListBox.cs (5)
111
if (
Items
.Count < 1)
115
object itemToDraw =
Items
[e.Index];
152
if (
Items
.Count == 0)
156
object listItem = this.
Items
[e.Index];
181
object selectedItem =
Items
[this.SelectedIndex];
System\Workflow\Activities\Design\ServiceContractListItem.cs (4)
87
int positionToAddAt = this.container.
Items
.IndexOf(this) + 1;
90
positionToAddAt = this.container.
Items
.IndexOf(lastItemAdded) + 1;
93
this.container.
Items
.Insert(positionToAddAt, operation);
124
this.container.SetSelected(container.
Items
.IndexOf(operationListItem), true);