14 references to HasImage
System.Windows.Forms (14)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemDetailsAccessibleObject.cs (8)
21
internal override int FirstSubItemIndex =>
HasImage
? 1 : 0;
23
private int LastChildIndex =>
HasImage
? _owningListView.Columns.Count : _owningListView.Columns.Count - 1;
32
private int AccessibleChildToSubItemIndex(int accessibleChildIndex) =>
HasImage
60
if (!
HasImage
|| subItemIndex > 0)
111
accessibleChildIndex = i + (
HasImage
? 1 : 0);
124
int accessibleChildIndex =
HasImage
? subItemIndex + 1 : subItemIndex;
130
if (accessibleChildIndex == ImageAccessibleObjectIndex &&
HasImage
)
179
? _owningListView.GetSubItemRect(_owningItem.Index,
HasImage
? accessibleChildIndex - 1 : accessibleChildIndex)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemWithImageAccessibleObject.cs (6)
23
internal override int FirstSubItemIndex =>
HasImage
? 1 : 0;
41
return
HasImage
&& ImageAccessibleObject.GetImageRectangle().Contains(point)
53
if (index == ImageAccessibleObjectIndex &&
HasImage
)
58
if (index >= ImageAccessibleObjectIndex || !
HasImage
)
80
if (
HasImage
)
99
=> _owningListView.IsHandleCreated && accessibleChildIndex == ImageAccessibleObjectIndex &&
HasImage