6 writes to ListView
System.Windows.Forms (6)
System\Windows\Forms\Controls\ListView\ListView.cs (1)
739
ListView
= this
System\Windows\Forms\Controls\ListView\ListViewGroupCollection.cs (5)
49
value.
ListView
= _listView;
123
group.
ListView
= _listView;
198
this[i].
ListView
= null;
248
group.
ListView
= _listView;
285
group.
ListView
= null;
55 references to ListView
System.Windows.Forms (19)
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (8)
78
=> _accessibilityObject ??= new ListViewGroupAccessibleObject(this,
ListView
?.Groups.Contains(this) == false);
393
if (
ListView
is null)
395
throw new InvalidOperationException(nameof(
ListView
));
398
if (!
ListView
.GroupsEnabled)
404
ListView
,
446
if (
ListView
is not null &&
ListView
.IsHandleCreated)
448
ListView
.UpdateGroupNative(this);
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (2)
25
_owningListView = owningGroup.
ListView
28
: throw new InvalidOperationException(nameof(owningGroup.
ListView
)));
System\Windows\Forms\Controls\ListView\ListViewGroupImageIndexer.cs (1)
30
get => _owner.
ListView
?.GroupImageList;
System\Windows\Forms\Controls\ListView\ListViewGroupItemCollection.cs (5)
22
public bool OwnerIsVirtualListView => _group.
ListView
is not null && _group.
ListView
.VirtualMode;
24
public bool OwnerIsDesignMode => _group.
ListView
?.Site is not null && _group.
ListView
.Site.DesignMode;
66
if (item.ListView is not null && item.ListView != _group.
ListView
)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
251
ListView owningListView = _listView ?? Group?.
ListView
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (1)
29
_owningListView = owningItem.ListView ?? owningItem.Group?.
ListView
?? throw new InvalidOperationException(nameof(owningItem.ListView));
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObject.cs (1)
27
_owningListView = owningItem.ListView ?? owningItem.Group?.
ListView
?? throw new InvalidOperationException(nameof(owningItem.ListView));
System.Windows.Forms.Tests (36)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (1)
691
Assert.Null(listViewGroup.
ListView
);
System\Windows\Forms\ListViewGroupCollectionTests.cs (31)
54
Assert.Same(listView, group.
ListView
);
69
Assert.Same(listView, group.
ListView
);
88
Assert.Same(listView, group.
ListView
);
109
Assert.Same(listView, group.
ListView
);
145
Assert.Same(listView, group.
ListView
);
166
Assert.Null(group.
ListView
);
375
Assert.Same(listView, group1.
ListView
);
381
Assert.Same(listView, group2.
ListView
);
394
Assert.Same(listView, group1.
ListView
);
400
Assert.Same(listView, group2.
ListView
);
417
Assert.Same(listView, group.
ListView
);
436
Assert.Same(listView, group1.
ListView
);
470
Assert.Same(listView, group.
ListView
);
522
Assert.Same(listView, group.
ListView
);
602
Assert.Null(group.
ListView
);
607
Assert.Null(group.
ListView
);
622
Assert.Null(group.
ListView
);
627
Assert.Null(group.
ListView
);
746
Assert.Same(listView, group.
ListView
);
761
Assert.Same(listView, group.
ListView
);
778
Assert.Same(listView, group.
ListView
);
797
Assert.Same(listView, group.
ListView
);
816
Assert.Same(listView, group.
ListView
);
887
Assert.Same(listView, group.
ListView
);
926
Assert.Null(group.
ListView
);
931
Assert.Null(group.
ListView
);
950
Assert.Null(group.
ListView
);
955
Assert.Null(group.
ListView
);
968
Assert.Null(group.
ListView
);
973
Assert.Null(group.
ListView
);
1016
Assert.Null(group.
ListView
);
System\Windows\Forms\ListViewGroupTests.cs (4)
25
Assert.Null(group.
ListView
);
46
Assert.Null(group.
ListView
);
76
Assert.Null(group.
ListView
);
104
Assert.Null(group.
ListView
);