21 instantiations of ListViewItem
System.Web.Mobile (2)
UI\MobileControls\Design\StylesEditorDialog.cs (2)
366
ListViewItem item = new
ListViewItem
(subItems);
378
ListViewItem item = new
ListViewItem
(subItems);
System.Windows.Forms (11)
winforms\Managed\System\WinForms\ListView.cs (10)
8399
this[index] = new
ListViewItem
(value.ToString(), -1);
8456
ListViewItem li = new
ListViewItem
(text, imageIndex);
8481
ListViewItem li = new
ListViewItem
(text, imageKey);
8493
ListViewItem li = new
ListViewItem
(text, imageKey);
8506
ListViewItem li = new
ListViewItem
(text, imageIndex);
8724
return Insert(index, new
ListViewItem
(text));
8732
return Insert(index, new
ListViewItem
(text, imageIndex));
8753
return Insert(index, new
ListViewItem
(text, imageKey));
8761
ListViewItem li = new
ListViewItem
(text, imageKey);
8771
ListViewItem li = new
ListViewItem
(text, imageIndex);
winforms\Managed\System\WinForms\ListViewItem.cs (1)
986
newItem = new
ListViewItem
(clonedSubItems, this.ImageIndexer.Index);
System.Workflow.Activities (6)
Rules\Design\Dialogs\BasicBrowserDialog.cs (2)
150
ListViewItem listViewItem = this.rulesListView.Items.Add(new
ListViewItem
());
325
ListViewItem listViewItem = this.rulesListView.Items.Add(new
ListViewItem
());
Rules\Design\Dialogs\IntellisenseTextBox.cs (3)
346
listViewItem = new
ListViewItem
(item as string);
351
listViewItem = new
ListViewItem
(((IntellisenseKeyword)item).Name);
356
listViewItem = new
ListViewItem
(((MemberInfo)item).Name as string);
Rules\Design\Dialogs\RuleSetDialog.cs (1)
425
ListViewItem listViewItem = new
ListViewItem
(new string[] { rule.Name, String.Empty, String.Empty, String.Empty, String.Empty });
System.Workflow.ComponentModel (1)
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
881
ListViewItem listItem = new
ListViewItem
();
WsatUI (1)
MMCUI\AcceptedCertificatesForm.cs (1)
73
ListViewItem listViewItem = new
ListViewItem
(listViewItemData, -1);
292 references to ListViewItem
System.Web.Mobile (2)
UI\MobileControls\Design\StylesEditorDialog.cs (2)
366
ListViewItem
item = new ListViewItem(subItems);
378
ListViewItem
item = new ListViewItem(subItems);
System.Windows.Forms (267)
winforms\Managed\System\WinForms\DrawListViewItemEventArgs.cs (4)
25
private readonly
ListViewItem
item;
35
public DrawListViewItemEventArgs(Graphics graphics,
ListViewItem
item, Rectangle bounds,
75
public
ListViewItem
Item
170
ListViewItem
.ListViewSubItem subItem = item.SubItems[0];
winforms\Managed\System\WinForms\DrawListViewSubItemEventArgs.cs (6)
28
private readonly
ListViewItem
item;
29
private readonly
ListViewItem
.ListViewSubItem subItem;
40
public DrawListViewSubItemEventArgs(Graphics graphics, Rectangle bounds,
ListViewItem
item,
41
ListViewItem
.ListViewSubItem subItem, int itemIndex, int columnIndex,
97
public
ListViewItem
Item
109
public
ListViewItem
.ListViewSubItem SubItem
winforms\Managed\System\WinForms\ItemCheckedEvent.cs (3)
27
private
ListViewItem
lvi;
34
public ItemCheckedEventArgs(
ListViewItem
item) {
41
public
ListViewItem
Item {
winforms\Managed\System\WinForms\LabelEditEvent.cs (6)
33
/// index to the <see cref='System.Windows.Forms.
ListViewItem
'/> to edit.
45
/// of the <see cref='System.Windows.Forms.LabelEditEventArgs'/> class with the specified index to the <see cref='System.Windows.Forms.
ListViewItem
'/> being
46
/// edited and the new text for the label of the <see cref='System.Windows.Forms.
ListViewItem
'/>.
57
/// Gets the new text assigned to the label of the <see cref='System.Windows.Forms.
ListViewItem
'/>.
69
/// Gets the zero-based index of the <see cref='System.Windows.Forms.
ListViewItem
'/> containing the label to
83
/// the <see cref='System.Windows.Forms.
ListViewItem
'/> should be canceled.
winforms\Managed\System\WinForms\ListItemConverter.cs (25)
56
if (destinationType == typeof(InstanceDescriptor) && value is
ListViewItem
) {
57
ListViewItem
item = (
ListViewItem
)value;
65
ctor = typeof(
ListViewItem
).GetConstructor(new Type[] { typeof(
ListViewItem
.ListViewSubItem[]), typeof(string)});
67
ListViewItem
.ListViewSubItem[] subItemArray = new
ListViewItem
.ListViewSubItem[item.SubItems.Count];
75
ctor = typeof(
ListViewItem
).GetConstructor(new Type[] { typeof(
ListViewItem
.ListViewSubItem[]), typeof(int)});
77
ListViewItem
.ListViewSubItem[] subItemArray = new
ListViewItem
.ListViewSubItem[item.SubItems.Count];
99
ctor = typeof(
ListViewItem
).GetConstructor(new Type[] {
115
ctor = typeof(
ListViewItem
).GetConstructor(new Type[] {
136
ctor = typeof(
ListViewItem
).GetConstructor(new Type[] {typeof(string)});
146
ctor = typeof(
ListViewItem
).GetConstructor(new Type[] {
153
ctor = typeof(
ListViewItem
).GetConstructor(new Type[] {
165
ctor = typeof(
ListViewItem
).GetConstructor(new Type[] {
172
ctor = typeof(
ListViewItem
).GetConstructor(new Type[] {
199
if (destinationType == typeof(InstanceDescriptor) && value is
ListViewItem
.ListViewSubItem) {
200
ListViewItem
.ListViewSubItem item = (
ListViewItem
.ListViewSubItem)value;
206
ctor = typeof(
ListViewItem
.ListViewSubItem).GetConstructor(new Type[] {
207
typeof(
ListViewItem
),
224
ctor = typeof(
ListViewItem
.ListViewSubItem).GetConstructor(new Type[] {typeof(
ListViewItem
), typeof(string)});
winforms\Managed\System\WinForms\ListView.cs (169)
191
private List<
ListViewItem
> savedSelectedItems;
192
private List<
ListViewItem
> savedCheckedItems;
197
private
ListViewItem
prevHoveredItem = null;
507
savedCheckedItems = new List<
ListViewItem
>(CheckedItems.Count);
508
ListViewItem
[] items = new
ListViewItem
[CheckedItems.Count];
522
foreach(
ListViewItem
item in savedCheckedItems) {
543
savedCheckedItems = new List<
ListViewItem
>(CheckedItems.Count);
544
ListViewItem
[] items = new
ListViewItem
[CheckedItems.Count];
578
foreach(
ListViewItem
item in savedCheckedItems) {
822
public
ListViewItem
FocusedItem {
1687
public
ListViewItem
TopItem {
1720
ListViewItem
topItem = TopItem;
1844
ListViewItem
lvItem = this.Items[topIndex];
2220
ListViewItem
[] items = (
ListViewItem
[])newItems.ToArray(typeof(
ListViewItem
));
2301
internal void CacheSelectedStateForItem(
ListViewItem
lvi, bool selected) {
2304
this.savedSelectedItems = new List<
ListViewItem
>();
2681
ListViewItem
item = Items[(int)(nmcd->nmcd.dwItemSpec)];
3069
public
ListViewItem
FindItemWithText(string text) {
3081
public
ListViewItem
FindItemWithText(string text, bool includeSubItemsInSearch, int startIndex) {
3088
public
ListViewItem
FindItemWithText(string text, bool includeSubItemsInSearch, int startIndex, bool isPrefixSearch) {
3099
public
ListViewItem
FindNearestItem(SearchDirectionHint dir, Point point) {
3106
public
ListViewItem
FindNearestItem(SearchDirectionHint searchDirection, int x, int y)
3120
ListViewItem
lvi = this.GetItemAt(x,y);
3153
private
ListViewItem
FindItem(bool isTextSearch, string text, bool isPrefixSearch, Point pt, SearchDirectionHint dir, int startIndex, bool includeSubItemsInSearch) {
3193
ListViewItem
lvi = this.Items[i];
3195
ListViewItem
.ListViewSubItem lvsi = lvi.SubItems[j];
3270
internal int GetDisplayIndex(
ListViewItem
item, int lastIndex) {
3333
public
ListViewItem
GetItemAt(int x, int y) {
3341
ListViewItem
li = null;
3348
internal int GetNativeGroupId(
ListViewItem
item) {
3558
ListViewItem
item = (iItem == -1) ? null : Items[iItem];
3712
ListViewItem
item = this.Items[i];
3758
private void InsertItems(int displayIndex,
ListViewItem
[] items, bool checkHosting) {
3802
ListViewItem
item = items[i];
3854
private int InsertItemsNative(int index,
ListViewItem
[] items) {
3882
ListViewItem
li = items[i];
4036
foreach (
ListViewItem
item in Items) {
4047
internal void ListViewItemToolTipChanged(
ListViewItem
item) {
4056
ListViewItem
item = Items[nmlv.iItem];
4098
ListViewItem
item = null;
4316
ListViewItem
[] listViewItemsToAdd = null;
4318
listViewItemsToAdd = (
ListViewItem
[])listItemsArray.ToArray(typeof(
ListViewItem
));
4390
ListViewItem
[] lviArr = new
ListViewItem
[SelectedItems.Count];
4392
savedSelectedItems = new List<
ListViewItem
>(lviArr.Length);
4398
ListViewItem
[] items = null;
4402
items = new
ListViewItem
[tempItems.Count];
4746
foreach(
ListViewItem
item in group.Items) {
4992
internal void UpdateSavedCheckedItems(
ListViewItem
item, bool addItem)
4995
this.savedCheckedItems = new List<
ListViewItem
>();
5371
ListViewItem
clickedItem = Items[displayIndex];
5375
foreach(
ListViewItem
item in SelectedItems) {
5401
ListViewItem
clickedItem = Items[displayIndex];
6012
ListViewItem
focusedItem = FocusedItem;
6016
foreach(
ListViewItem
item in SelectedItems) {
6042
ListViewItem
lvItem = rVI.Item;
6142
ListViewItem
lvi = Items[infoTip.item];
6397
ListViewItem
currentItem = (
ListViewItem
)obj1;
6398
ListViewItem
nextItem = (
ListViewItem
)obj2;
6440
foreach(
ListViewItem
item in owner.Items) {
6478
ListViewItem
item = owner.Items[i];
6677
private
ListViewItem
[] ItemArray {
6679
ListViewItem
[] items = new
ListViewItem
[Count];
6694
public
ListViewItem
this[int index] {
6724
public virtual
ListViewItem
this[string key] {
6786
public bool Contains(
ListViewItem
item) {
6806
if (item is
ListViewItem
) {
6807
return Contains((
ListViewItem
)item);
6830
public int IndexOf(
ListViewItem
item) {
6835
ListViewItem
[] items = ItemArray;
6896
if (item is
ListViewItem
) {
6897
return IndexOf((
ListViewItem
)item);
6954
ListViewItem
[] items = ItemArray;
6959
return new
ListViewItem
[0].GetEnumerator();
7307
private
ListViewItem
[] SelectedItemArray {
7312
ListViewItem
[] lvitems = new
ListViewItem
[cnt];
7332
ListViewItem
[] cloned = new
ListViewItem
[owner.savedSelectedItems.Count];
7339
return new
ListViewItem
[0];
7372
public
ListViewItem
this[int index] {
7407
public virtual
ListViewItem
this[string key] {
7526
ListViewItem
[] items = SelectedItemArray;
7548
public bool Contains(
ListViewItem
item) {
7563
if (item is
ListViewItem
) {
7564
return Contains((
ListViewItem
)item);
7594
ListViewItem
[] items = SelectedItemArray;
7599
return new
ListViewItem
[0].GetEnumerator();
7607
public int IndexOf(
ListViewItem
item) {
7612
ListViewItem
[] items = SelectedItemArray;
7628
if (item is
ListViewItem
) {
7629
return IndexOf((
ListViewItem
)item);
8283
ListViewItem
this[int index] { get; set; }
8284
ListViewItem
Add(
ListViewItem
item);
8285
void AddRange(
ListViewItem
[] items);
8287
bool Contains(
ListViewItem
item);
8290
int IndexOf(
ListViewItem
item);
8291
ListViewItem
Insert(int index,
ListViewItem
item);
8292
void Remove(
ListViewItem
item);
8371
public virtual
ListViewItem
this[int index] {
8395
if (value is
ListViewItem
) {
8396
this[index] = (
ListViewItem
)value;
8408
public virtual
ListViewItem
this[string key] {
8433
public virtual
ListViewItem
Add(string text) {
8440
if (item is
ListViewItem
) {
8441
return IndexOf(Add((
ListViewItem
)item));
8455
public virtual
ListViewItem
Add(string text, int imageIndex) {
8456
ListViewItem
li = new ListViewItem(text, imageIndex);
8467
public virtual
ListViewItem
Add(
ListViewItem
value) {
8480
public virtual
ListViewItem
Add(string text, string imageKey) {
8481
ListViewItem
li = new ListViewItem(text, imageKey);
8492
public virtual
ListViewItem
Add(string key, string text, string imageKey) {
8493
ListViewItem
li = new ListViewItem(text, imageKey);
8505
public virtual
ListViewItem
Add(string key, string text, int imageIndex) {
8506
ListViewItem
li = new ListViewItem(text, imageIndex);
8519
public void AddRange(
ListViewItem
[] items) {
8536
ListViewItem
[] itemArray = new
ListViewItem
[items.Count];
8553
public bool Contains(
ListViewItem
item) {
8560
if (item is
ListViewItem
) {
8561
return Contains((
ListViewItem
)item);
8590
public
ListViewItem
[] Find (string key, bool searchAllSubItems) {
8593
ListViewItem
[] stronglyTypedFoundItems= new
ListViewItem
[foundItems.Count];
8648
public int IndexOf(
ListViewItem
item) {
8660
if (item is
ListViewItem
) {
8661
return IndexOf((
ListViewItem
)item);
8711
public
ListViewItem
Insert(int index,
ListViewItem
item) {
8723
public
ListViewItem
Insert(int index, string text) {
8731
public
ListViewItem
Insert(int index, string text, int imageIndex) {
8738
if (item is
ListViewItem
) {
8739
Insert(index, (
ListViewItem
)item);
8752
public
ListViewItem
Insert(int index, string text, string imageKey) {
8760
public virtual
ListViewItem
Insert(int index, string key, string text, string imageKey) {
8761
ListViewItem
li = new ListViewItem(text, imageKey);
8770
public virtual
ListViewItem
Insert(int index, string key, string text, int imageIndex) {
8771
ListViewItem
li = new ListViewItem(text, imageIndex);
8782
public virtual void Remove(
ListViewItem
item) {
8812
if (item == null || !(item is
ListViewItem
)) {
8816
Remove((
ListViewItem
)item);
8854
public
ListViewItem
this[int displayIndex] {
8872
return (
ListViewItem
)owner.listItemsTable[DisplayIndexToID(displayIndex)];
8876
return (
ListViewItem
)owner.listItemsArray[displayIndex];
8898
public
ListViewItem
Add(
ListViewItem
value) {
8909
owner.InsertItems(owner.itemCount, new
ListViewItem
[]{value}, true);
8923
public void AddRange(
ListViewItem
[] values) {
9005
ListViewItem
item = owner.Items[i];
9045
ListViewItem
item = owner.Items[i];
9068
public bool Contains(
ListViewItem
item) {
9081
public
ListViewItem
Insert(int index,
ListViewItem
item) {
9106
owner.InsertItems(index, new
ListViewItem
[]{item}, true);
9118
public int IndexOf(
ListViewItem
item) {
9128
public void Remove(
ListViewItem
item) {
9193
ListViewItem
[] items = new
ListViewItem
[this.owner.itemCount];
winforms\Managed\System\WinForms\ListViewGroup.cs (7)
258
ListViewItem
[] items = new
ListViewItem
[count];
262
items[i] = (
ListViewItem
)info.GetValue("Item" + i, typeof(
ListViewItem
));
294
info.AddValue("Item" + i.ToString(CultureInfo.InvariantCulture), Items[i], typeof(
ListViewItem
));
514
ListViewItem
item = group.Items[i];
622
foreach(
ListViewItem
item in group.Items) {
winforms\Managed\System\WinForms\ListViewGroupConverter.cs (6)
37
if (sourceType == typeof(string) && context != null && context.Instance is
ListViewItem
) {
52
if (destinationType == typeof(string) && context != null && context.Instance is
ListViewItem
) {
68
ListViewItem
item = context.Instance as
ListViewItem
;
128
ListViewItem
item = context.Instance as
ListViewItem
;
winforms\Managed\System\WinForms\ListViewGroupItemCollection.cs (15)
64
public
ListViewItem
this[int index] {
66
return (
ListViewItem
)Items[index];
70
MoveToGroup((
ListViewItem
)Items[index], null);
72
MoveToGroup((
ListViewItem
)Items[index], this.group);
77
public
ListViewItem
Add(
ListViewItem
value) {
85
public void AddRange(
ListViewItem
[] items) {
100
private void CheckListViewItem(
ListViewItem
item) {
116
public bool Contains(
ListViewItem
item) {
128
public int IndexOf(
ListViewItem
item)
133
public
ListViewItem
Insert(int index,
ListViewItem
item) {
141
private void MoveToGroup(
ListViewItem
item, ListViewGroup newGroup) {
153
public void Remove(
ListViewItem
item)
167
private void UpdateNativeListViewItem(
ListViewItem
item) {
winforms\Managed\System\WinForms\ListViewHitTestInfo.cs (6)
22
private
ListViewItem
item;
23
private
ListViewItem
.ListViewSubItem subItem;
29
public ListViewHitTestInfo(
ListViewItem
hitItem,
ListViewItem
.ListViewSubItem hitSubItem, ListViewHitTestLocations hitLocation) {
50
public
ListViewItem
Item {
60
public
ListViewItem
.ListViewSubItem SubItem {
winforms\Managed\System\WinForms\ListViewItem.cs (12)
80
private
ListViewItem
owner;
84
public ListViewItemImageIndexer(
ListViewItem
item) {
983
ListViewItem
newItem = null;
985
if (clonedType == typeof(
ListViewItem
)) {
991
newItem = (
ListViewItem
)Activator.CreateInstance(clonedType);
1028
public
ListViewItem
FindNearestItem(SearchDirectionHint searchDirection) {
1422
internal
ListViewItem
owner;
1445
public ListViewSubItem(
ListViewItem
owner, string text) {
1454
public ListViewSubItem(
ListViewItem
owner, string text, Color foreColor, Color backColor, Font font) {
1710
private
ListViewItem
owner;
1723
public ListViewSubItemCollection(
ListViewItem
owner) {
1966
if (owner.SubItemCount ==
ListViewItem
.MAX_SUBITEMS) {
winforms\Managed\System\WinForms\ListViewItemMouseHoverEvent.cs (3)
24
readonly
ListViewItem
item;
30
public ListViewItemMouseHoverEventArgs(
ListViewItem
item) {
38
public
ListViewItem
Item {
winforms\Managed\System\WinForms\ListViewItemSelectionChangedEvent.cs (3)
19
private
ListViewItem
item;
27
public ListViewItemSelectionChangedEventArgs(
ListViewItem
item, int itemIndex, bool isSelected)
50
public
ListViewItem
Item
winforms\Managed\System\WinForms\RetrieveVirtualItemEventArgs.cs (2)
8
private
ListViewItem
item;
23
public
ListViewItem
Item {
System.Workflow.Activities (16)
Rules\Design\Dialogs\BasicBrowserDialog.cs (4)
150
ListViewItem
listViewItem = this.rulesListView.Items.Add(new ListViewItem());
197
ListViewItem
selectedItem = this.rulesListView.SelectedItems[0];
325
ListViewItem
listViewItem = this.rulesListView.Items.Add(new ListViewItem());
348
protected abstract void UpdateListViewItem(object ruleObject,
ListViewItem
listViewItem);
Rules\Design\Dialogs\ConditionBrowserDialog.cs (1)
115
protected override void UpdateListViewItem(object ruleObject,
ListViewItem
listViewItem)
Rules\Design\Dialogs\IntellisenseTextBox.cs (2)
279
foreach (
ListViewItem
listViewItem in this.listBoxAutoComplete.Items)
343
ListViewItem
listViewItem = null;
Rules\Design\Dialogs\RuleSetBrowserDialog.cs (1)
101
protected override void UpdateListViewItem(object ruleObject,
ListViewItem
listViewItem)
Rules\Design\Dialogs\RuleSetDialog.cs (8)
302
ListViewItem
listViewItem = AddNewItem(newRule);
423
private
ListViewItem
AddNewItem(Rule rule)
425
ListViewItem
listViewItem = new ListViewItem(new string[] { rule.Name, String.Empty, String.Empty, String.Empty, String.Empty });
433
private void UpdateItem(
ListViewItem
listViewItem, Rule rule)
512
ListViewItem
item1 = (
ListViewItem
)x;
513
ListViewItem
item2 = (
ListViewItem
)y;
System.Workflow.ComponentModel (6)
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (6)
670
foreach (
ListViewItem
lvItem in this.artifactListView.Items)
881
ListViewItem
listItem = new ListViewItem();
1184
result = string.Compare(((
ListViewItem
)first).Text, ((
ListViewItem
)second).Text);
1186
result = string.Compare(((
ListViewItem
)first).SubItems[1].Text, ((
ListViewItem
)second).SubItems[1].Text);
WsatUI (1)
MMCUI\AcceptedCertificatesForm.cs (1)
73
ListViewItem
listViewItem = new ListViewItem(listViewItemData, -1);