1 write to _owningItem
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (1)
28
_owningItem
= owningItem.OrThrowIfNull();
38 references to _owningItem
System.Windows.Forms (38)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (19)
33
?
_owningItem
.Group ?? _owningListView.DefaultGroup
43
_owningListView.AccessibilityObject.Bounds.X +
_owningItem
.Bounds.X,
44
_owningListView.AccessibilityObject.Bounds.Y +
_owningItem
.Bounds.Y,
45
_owningItem
.Bounds.Width,
46
_owningItem
.Bounds.Height);
49
=>
_owningItem
.Index;
55
internal bool HasImage =>
_owningItem
.ImageList is not null &&
_owningItem
.ImageList.Images.Count > 0
56
&&
_owningItem
.ImageIndex != ImageList.Indexer.DefaultIndex;
61
public override string? Name =>
_owningItem
.Text;
70
bool owningListItemFocused = _owningListView.FocusedItem ==
_owningItem
;
86
if (_owningListView.SelectedIndices.Contains(
_owningItem
.Index))
105
return
_owningItem
.Checked
222
_owningItem
.GetHashCode()
228
=>
_owningItem
.Checked
250
foreach (ListViewSubItem subItem in
_owningItem
.SubItems)
264
internal override void ScrollIntoView() =>
_owningItem
.EnsureVisible();
301
internal override void Toggle() =>
_owningItem
.Checked = !
_owningItem
.Checked;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemDetailsAccessibleObject.cs (6)
105
int subItemIndex =
_owningItem
.SubItems.IndexOf(subItemAccessibleObject.OwningSubItem);
137
ListViewItemImageAccessibleObject imageAccessibleObject = new(
_owningItem
);
143
if (subItemIndex <
_owningItem
.SubItems.Count)
147
return
_owningItem
.SubItems[subItemIndex].AccessibilityObject;
155
ListViewSubItem.ListViewSubItemAccessibleObject fakeAccessibleObject = new(owningSubItem: null,
_owningItem
);
179
? _owningListView.GetSubItemRect(
_owningItem
.Index, HasImage ? accessibleChildIndex - 1 : accessibleChildIndex)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemListAccessibleObject.cs (4)
21
_owningListView.AccessibilityObject.Bounds.X +
_owningItem
.Bounds.X,
22
_owningListView.AccessibilityObject.Bounds.Y +
_owningItem
.Bounds.Y,
23
_owningItem
.Bounds.Width,
24
_owningItem
.Bounds.Height);
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemTileAccessibleObject.cs (8)
55
||
_owningItem
.SubItems.Count <= index
61
return
_owningItem
.SubItems[index].AccessibilityObject;
76
if (
_owningItem
.SubItems.Count == 1)
88
|| child ==
_owningItem
.SubItems[0].AccessibilityObject
95
int index =
_owningItem
.SubItems.IndexOf(subItemAccessibleObject.OwningSubItem);
103
if (
_owningItem
.SubItems.Count == 1)
109
int subItemCount = Math.Min(_owningListView.Columns.Count,
_owningItem
.SubItems.Count);
126
? _owningListView.GetSubItemRect(
_owningItem
.Index, subItemIndex)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemWithImageAccessibleObject.cs (1)
25
private ListViewItemImageAccessibleObject ImageAccessibleObject => _imageAccessibleObject ??= new(
_owningItem
);