5 instantiations of WindowsListView
UIAutomationClientsideProviders (5)
MS\Internal\AutomationProxies\WindowsListView.cs (5)
113
WindowsListView lv = new
WindowsListView
(hwnd, null, 0);
136
WindowsListView wlv = new
WindowsListView
( hwnd, null, -1 );
152
ProxySimple el = new
WindowsListView
( hwnd, null, -1 );
1210
IRawElementProviderFragment wlv = (IRawElementProviderFragment) new
WindowsListView
(hwnd, null, -1);
1860
WindowsListView wlv = new
WindowsListView
(hwnd, null, -1);
119 references to WindowsListView
UIAutomationClientsideProviders (119)
MS\Internal\AutomationProxies\Main.cs (1)
55
new ClientSideProviderDescription(new ClientSideProviderFactoryCallback(MS.Internal.AutomationProxies.
WindowsListView
.Create), "SysListView32", null, ClientSideProviderMatchIndicator.AllowSubstringMatch),
MS\Internal\AutomationProxies\WindowsListView.cs (8)
97
WinEventTracker.AddToNotificationList (_hwnd, new WinEventTracker.ProxyRaiseEvents (
WindowsListView
.GroupSpecificEvents), _groupEvents, 3);
113
WindowsListView
lv = new WindowsListView(hwnd, null, 0);
136
WindowsListView
wlv = new WindowsListView( hwnd, null, -1 );
421
GroupManager manager =
WindowsListView
._groupsCollection [_hwnd];
436
NativeMethods.LVHITTESTINFO_INTERNAL hitTest =
WindowsListView
.SubitemHitTest(_hwnd, new NativeMethods.Win32Point(x, y));
461
hitTest =
WindowsListView
.SubitemHitTest(_hwnd, new NativeMethods.Win32Point(x, y));
1215
StructureChangedEventArgs change = new StructureChangedEventArgs( StructureChangeType.ChildrenInvalidated, ( (
WindowsListView
)wlv ).MakeRuntimeId() );
1860
WindowsListView
wlv = new WindowsListView (hwnd, null, -1);
MS\Internal\AutomationProxies\WindowsListViewGroup.cs (12)
67
else if (iid == ExpandCollapsePattern.Pattern &&
WindowsListView
.IsGroupViewEnabled(_hwnd))
80
GroupManager manager =
WindowsListView
._groupsCollection [_hwnd];
295
NativeMethods.LVHITTESTINFO_INTERNAL hitTest =
WindowsListView
.SubitemHitTest (_hwnd, pt);
384
if (
WindowsListView
.IsDetailMode (_hwnd))
473
int index =
WindowsListView
.GetItemNext(hwnd, -1, NativeMethods.LVNI_FOCUSED);
561
System.Diagnostics.Debug.Assert (!
WindowsListView
.IsDetailMode (hwnd), "GetColumnCountExternal: called when lv is in Detail mode");
572
GroupManager manager =
WindowsListView
._groupsCollection [hwnd];
671
GroupManager manager =
WindowsListView
._groupsCollection [hwnd];
742
if (
WindowsListView
.IsDetailMode (hwnd))
763
if (
WindowsListView
.IsDetailMode (hwnd))
801
if (
WindowsListView
.GetItemRect(hwnd, items[0], NativeMethods.LVIR_BOUNDS, out rc))
808
if (!
WindowsListView
.GetItemRect(hwnd, items[i], NativeMethods.LVIR_BOUNDS, out rcNext))
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (7)
65
if (!
WindowsListView
.IsGroupViewEnabled(hwnd))
217
int itemCount =
WindowsListView
.GetItemCount (_hwnd);
382
int itemCount =
WindowsListView
.GetItemCount(hwnd);
631
WindowsListView
.GetItemRect(_hwnd, item1, NativeMethods.LVIR_BOUNDS, out rc1);
634
WindowsListView
.GetItemRect(_hwnd, item2, NativeMethods.LVIR_BOUNDS, out rc2);
735
WindowsListView
.GetItemRect(_hwnd, _items[0], NativeMethods.LVIR_BOUNDS, out item);
748
WindowsListView
.GetItemRect(_hwnd, _items[count - 1], NativeMethods.LVIR_BOUNDS, out item);
MS\Internal\AutomationProxies\WindowsListViewItem.cs (60)
46
if (
WindowsListView
.IsDetailMode(hwnd))
72
if (iid == InvokePattern.Pattern &&
WindowsListView
.ListViewInvokable(_hwnd))
82
if (iid == ValuePattern.Pattern &&
WindowsListView
.ListViewEditable (_hwnd))
124
WindowsListView
._groupsCollection.EnsureCreation (_hwnd);
126
GroupManager manager =
WindowsListView
._groupsCollection[_hwnd];
158
if (
WindowsListView
.GetItemRect(_hwnd, _item, NativeMethods.LVIR_BOUNDS, out itemRectangle))
224
return
WindowsListView
.SetItemFocused (_hwnd, _item);
268
if (
WindowsListView
.IsDetailMode (_hwnd))
292
else if (
WindowsListView
.IsDetailMode (_hwnd))
311
else if (
WindowsListView
.IsDetailMode(_hwnd))
326
if (
WindowsListView
.IsDetailMode (_hwnd))
358
if (
WindowsListView
.IsDetailMode (_hwnd))
401
if (!
WindowsListView
.MultiSelected (_hwnd) &&
WindowsListView
.IsItemSelected (_hwnd, _item))
407
WindowsListView
.UnselectAll (_hwnd);
410
if (!
WindowsListView
.SelectItem(_hwnd, _item))
426
if (
WindowsListView
.IsItemSelected (_hwnd, _item))
432
if (!
WindowsListView
.MultiSelected(_hwnd))
439
if (selectionRequired ||
WindowsListView
.GetSelectedItemCount(_hwnd) > 0)
448
if (!
WindowsListView
.SelectItem(_hwnd, _item))
464
if (!
WindowsListView
.IsItemSelected (_hwnd, _item))
470
if (!
WindowsListView
.MultiSelected (_hwnd))
484
if (!
WindowsListView
.UnSelectItem(_hwnd, _item))
495
return
WindowsListView
.IsItemSelected (_hwnd, _item);
509
while (!(parent is
WindowsListView
))
532
if (
WindowsListView
.Scrollable (_hwnd))
535
WindowsListView
.EnsureVisible (_hwnd, _item, true);
578
return !
WindowsListView
.ListViewEditable (_hwnd);
591
if (
WindowsListView
.IsGroupViewEnabled (_hwnd))
597
if (
WindowsListView
.IsListMode (_hwnd))
599
int itemCount =
WindowsListView
.GetItemCount (_hwnd);
600
int rowCount =
WindowsListView
.GetRowCountListMode (_hwnd, itemCount);
606
int columnCount =
WindowsListView
.GetColumnCountOtherModes (_hwnd);
616
if (
WindowsListView
.IsGroupViewEnabled (_hwnd))
622
if (
WindowsListView
.IsListMode (_hwnd))
624
int itemCount =
WindowsListView
.GetItemCount (_hwnd);
625
int rowCount =
WindowsListView
.GetRowCountListMode (_hwnd, itemCount);
630
int columnCount =
WindowsListView
.GetColumnCountOtherModes (_hwnd);
674
if (!
WindowsListView
.Scrollable(_hwnd))
680
WindowsListView
.EnsureVisible(_hwnd, _item, false);
696
if(
WindowsListView
.IsDetailMode(hwnd))
698
IntPtr hwndHeader =
WindowsListView
.ListViewGetHeader (hwnd);
705
return
WindowsListView
.HeaderItemCount (hwndHeader);
719
return
WindowsListView
.GetItemText (hwnd, lvitem);
725
if (!
WindowsListView
.CheckBoxes (hwnd))
732
return (CheckState.NoCheckbox != (CheckState)
WindowsListView
.GetCheckedState (hwnd, item));
739
System.Diagnostics.Debug.Assert (
WindowsListView
.IsGroupViewEnabled (hwnd), "GetGroupID: called when lv does not have groups");
764
if (!
WindowsListView
.ListViewEditable (hwnd))
772
WindowsListView
.SetItemFocused (hwnd, item);
775
IntPtr hwndEdit =
WindowsListView
.ListViewEditLabel (hwnd, item);
856
return
WindowsListView
.IsItemFocused (_hwnd, _item);
864
IntPtr hwndHeader =
WindowsListView
.ListViewGetHeader(_hwnd);
914
if (
WindowsListView
.IsDetailMode (hwnd))
919
return (
WindowsListView
.IsListMode (hwnd) ||
WindowsListView
.ListViewAutoArrange (hwnd));
933
if (!
WindowsListView
.GetItemRect(_hwnd, _item, NativeMethods.LVIR_LABEL, out itemRectangle))
938
if (
WindowsListView
.IsDetailMode (_hwnd) && !
WindowsListView
.FullRowSelect (_hwnd))
954
if (!
WindowsListView
.GetItemRect(_hwnd, _item, NativeMethods.LVIR_LABEL, out itemRectangle))
968
Misc.MouseClick(clickPoint.x, clickPoint.y, !
WindowsListView
.ListViewSingleClickActivate(_hwnd));
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (8)
108
return
WindowsListView
.GetItemToolTipText(_hwnd);
155
if (
WindowsListView
.FullRowSelect (hwnd) &&
WindowsListView
.IsDetailMode (hwnd))
170
if ((
WindowsListView
.GetItemRect(hwnd, item, NativeMethods.LVIR_ICON, out rc) && rc.left != rc.right) || (
WindowsListView
.GetItemRect(hwnd, item, NativeMethods.LVIR_LABEL, out rc) && rc.left != rc.right))
182
if (!
WindowsListView
.GetItemRect(hwnd, item, NativeMethods.LVIR_BOUNDS, out wholeItem))
189
if (!
WindowsListView
.GetItemRect(hwnd, item, NativeMethods.LVIR_SELECTBOUNDS, out selectable))
220
ListViewItem.CheckState current = (ListViewItem.CheckState)
WindowsListView
.GetCheckedState (_hwnd, _listviewItem);
MS\Internal\AutomationProxies\WindowsListViewScroll.cs (4)
88
if (isVerticalScroll &&
WindowsListView
.InReportView (_hwnd))
95
int size =
WindowsListView
.ApproximateViewRect (_hwnd);
114
if (
WindowsListView
.Scroll (_hwnd, (IntPtr) dx, (IntPtr) dy))
139
WindowsListView
.Scroll (_hwnd, (IntPtr) dx, (IntPtr) dy);
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (14)
42
_cControlType =
WindowsListView
.ListViewEditable(hwnd) ? ControlType.Edit : ControlType.Text;
64
if (iid == ValuePattern.Pattern && _item == 0 &&
WindowsListView
.ListViewEditable (_hwnd))
88
if (!
WindowsListView
.GetSubItemRect (_hwnd, _itemParent, _item, lvir, out itemRectangle))
96
if (
WindowsListView
.FullRowSelect(_hwnd) && !
WindowsListView
.HasJustifyColumnsExStyle(_hwnd) &&
97
!
WindowsListView
.IsIconView(_hwnd) && _item == 0 && 1 < ListViewItem.GetSubItemCount(_hwnd))
101
if (!
WindowsListView
.GetSubItemRect(_hwnd, _itemParent, 1, NativeMethods.LVIR_BOUNDS, out itemRectangle1))
198
return
WindowsListView
.GetItemToolTipText(_hwnd);
216
return
WindowsListView
.SetItemFocused (_hwnd, this._itemParent);
247
return !
WindowsListView
.ListViewEditable (_hwnd);
260
if (!
WindowsListView
.IsGroupViewEnabled (_hwnd))
335
IntPtr hwndHeader =
WindowsListView
.ListViewGetHeader (_hwnd);
357
NativeMethods.LVHITTESTINFO_INTERNAL hitTest =
WindowsListView
.SubitemHitTest (hwnd, item, new NativeMethods.Win32Point (x, y));
387
return
WindowsListView
.IsItemFocused (_hwnd, _itemParent);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (5)
95
WindowsListView
wlv = (
WindowsListView
)
WindowsListView
.Create (hwndParent, 0);
287
if (
WindowsListView
.IsListMode(hwndParent))
292
else if (
WindowsListView
.IsDetailMode(hwndParent))