5 instantiations of WindowsListView
UIAutomationClientSideProviders (5)
MS\Internal\AutomationProxies\WindowsListView.cs (5)
106
WindowsListView lv = new
WindowsListView
(hwnd, null, 0);
129
WindowsListView wlv = new
WindowsListView
( hwnd, null, -1 );
145
ProxySimple el = new
WindowsListView
( hwnd, null, -1 );
1202
IRawElementProviderFragment wlv = (IRawElementProviderFragment) new
WindowsListView
(hwnd, null, -1);
1854
WindowsListView wlv = new
WindowsListView
(hwnd, null, -1);
119 references to WindowsListView
UIAutomationClientSideProviders (119)
MS\Internal\AutomationProxies\Main.cs (1)
47
new ClientSideProviderDescription(new ClientSideProviderFactoryCallback(MS.Internal.AutomationProxies.
WindowsListView
.Create), "SysListView32", null, ClientSideProviderMatchIndicator.AllowSubstringMatch),
MS\Internal\AutomationProxies\WindowsListView.cs (8)
90
WinEventTracker.AddToNotificationList (_hwnd, new WinEventTracker.ProxyRaiseEvents (
WindowsListView
.GroupSpecificEvents), _groupEvents, 3);
106
WindowsListView
lv = new WindowsListView(hwnd, null, 0);
129
WindowsListView
wlv = new WindowsListView( hwnd, null, -1 );
414
GroupManager manager =
WindowsListView
._groupsCollection [_hwnd];
429
NativeMethods.LVHITTESTINFO_INTERNAL hitTest =
WindowsListView
.SubitemHitTest(_hwnd, new NativeMethods.Win32Point(x, y));
454
hitTest =
WindowsListView
.SubitemHitTest(_hwnd, new NativeMethods.Win32Point(x, y));
1207
StructureChangedEventArgs change = new StructureChangedEventArgs( StructureChangeType.ChildrenInvalidated, ( (
WindowsListView
)wlv ).MakeRuntimeId() );
1854
WindowsListView
wlv = new WindowsListView (hwnd, null, -1);
MS\Internal\AutomationProxies\WindowsListViewGroup.cs (12)
60
else if (iid == ExpandCollapsePattern.Pattern &&
WindowsListView
.IsGroupViewEnabled(_hwnd))
73
GroupManager manager =
WindowsListView
._groupsCollection [_hwnd];
288
NativeMethods.LVHITTESTINFO_INTERNAL hitTest =
WindowsListView
.SubitemHitTest (_hwnd, pt);
377
if (
WindowsListView
.IsDetailMode (_hwnd))
466
int index =
WindowsListView
.GetItemNext(hwnd, -1, NativeMethods.LVNI_FOCUSED);
554
System.Diagnostics.Debug.Assert (!
WindowsListView
.IsDetailMode (hwnd), "GetColumnCountExternal: called when lv is in Detail mode");
565
GroupManager manager =
WindowsListView
._groupsCollection [hwnd];
664
GroupManager manager =
WindowsListView
._groupsCollection [hwnd];
735
if (
WindowsListView
.IsDetailMode (hwnd))
756
if (
WindowsListView
.IsDetailMode (hwnd))
794
if (
WindowsListView
.GetItemRect(hwnd, items[0], NativeMethods.LVIR_BOUNDS, out rc))
801
if (!
WindowsListView
.GetItemRect(hwnd, items[i], NativeMethods.LVIR_BOUNDS, out rcNext))
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (7)
57
if (!
WindowsListView
.IsGroupViewEnabled(hwnd))
208
int itemCount =
WindowsListView
.GetItemCount (_hwnd);
372
int itemCount =
WindowsListView
.GetItemCount(hwnd);
620
WindowsListView
.GetItemRect(_hwnd, item1, NativeMethods.LVIR_BOUNDS, out rc1);
623
WindowsListView
.GetItemRect(_hwnd, item2, NativeMethods.LVIR_BOUNDS, out rc2);
723
WindowsListView
.GetItemRect(_hwnd, _items[0], NativeMethods.LVIR_BOUNDS, out item);
736
WindowsListView
.GetItemRect(_hwnd, _items[count - 1], NativeMethods.LVIR_BOUNDS, out item);
MS\Internal\AutomationProxies\WindowsListViewItem.cs (60)
39
if (
WindowsListView
.IsDetailMode(hwnd))
65
if (iid == InvokePattern.Pattern &&
WindowsListView
.ListViewInvokable(_hwnd))
75
if (iid == ValuePattern.Pattern &&
WindowsListView
.ListViewEditable (_hwnd))
117
WindowsListView
._groupsCollection.EnsureCreation (_hwnd);
119
GroupManager manager =
WindowsListView
._groupsCollection[_hwnd];
151
if (
WindowsListView
.GetItemRect(_hwnd, _item, NativeMethods.LVIR_BOUNDS, out itemRectangle))
217
return
WindowsListView
.SetItemFocused (_hwnd, _item);
261
if (
WindowsListView
.IsDetailMode (_hwnd))
285
else if (
WindowsListView
.IsDetailMode (_hwnd))
304
else if (
WindowsListView
.IsDetailMode(_hwnd))
319
if (
WindowsListView
.IsDetailMode (_hwnd))
351
if (
WindowsListView
.IsDetailMode (_hwnd))
394
if (!
WindowsListView
.MultiSelected (_hwnd) &&
WindowsListView
.IsItemSelected (_hwnd, _item))
400
WindowsListView
.UnselectAll (_hwnd);
403
if (!
WindowsListView
.SelectItem(_hwnd, _item))
419
if (
WindowsListView
.IsItemSelected (_hwnd, _item))
425
if (!
WindowsListView
.MultiSelected(_hwnd))
432
if (selectionRequired ||
WindowsListView
.GetSelectedItemCount(_hwnd) > 0)
441
if (!
WindowsListView
.SelectItem(_hwnd, _item))
457
if (!
WindowsListView
.IsItemSelected (_hwnd, _item))
463
if (!
WindowsListView
.MultiSelected (_hwnd))
477
if (!
WindowsListView
.UnSelectItem(_hwnd, _item))
488
return
WindowsListView
.IsItemSelected (_hwnd, _item);
502
while (!(parent is
WindowsListView
))
525
if (
WindowsListView
.Scrollable (_hwnd))
528
WindowsListView
.EnsureVisible (_hwnd, _item, true);
571
return !
WindowsListView
.ListViewEditable (_hwnd);
584
if (
WindowsListView
.IsGroupViewEnabled (_hwnd))
590
if (
WindowsListView
.IsListMode (_hwnd))
592
int itemCount =
WindowsListView
.GetItemCount (_hwnd);
593
int rowCount =
WindowsListView
.GetRowCountListMode (_hwnd, itemCount);
599
int columnCount =
WindowsListView
.GetColumnCountOtherModes (_hwnd);
609
if (
WindowsListView
.IsGroupViewEnabled (_hwnd))
615
if (
WindowsListView
.IsListMode (_hwnd))
617
int itemCount =
WindowsListView
.GetItemCount (_hwnd);
618
int rowCount =
WindowsListView
.GetRowCountListMode (_hwnd, itemCount);
623
int columnCount =
WindowsListView
.GetColumnCountOtherModes (_hwnd);
667
if (!
WindowsListView
.Scrollable(_hwnd))
673
WindowsListView
.EnsureVisible(_hwnd, _item, false);
689
if(
WindowsListView
.IsDetailMode(hwnd))
691
IntPtr hwndHeader =
WindowsListView
.ListViewGetHeader (hwnd);
698
return
WindowsListView
.HeaderItemCount (hwndHeader);
712
return
WindowsListView
.GetItemText (hwnd, lvitem);
718
if (!
WindowsListView
.CheckBoxes (hwnd))
725
return (CheckState.NoCheckbox != (CheckState)
WindowsListView
.GetCheckedState (hwnd, item));
732
System.Diagnostics.Debug.Assert (
WindowsListView
.IsGroupViewEnabled (hwnd), "GetGroupID: called when lv does not have groups");
754
if (!
WindowsListView
.ListViewEditable (hwnd))
762
WindowsListView
.SetItemFocused (hwnd, item);
765
IntPtr hwndEdit =
WindowsListView
.ListViewEditLabel (hwnd, item);
846
return
WindowsListView
.IsItemFocused (_hwnd, _item);
854
IntPtr hwndHeader =
WindowsListView
.ListViewGetHeader(_hwnd);
904
if (
WindowsListView
.IsDetailMode (hwnd))
909
return (
WindowsListView
.IsListMode (hwnd) ||
WindowsListView
.ListViewAutoArrange (hwnd));
923
if (!
WindowsListView
.GetItemRect(_hwnd, _item, NativeMethods.LVIR_LABEL, out itemRectangle))
928
if (
WindowsListView
.IsDetailMode (_hwnd) && !
WindowsListView
.FullRowSelect (_hwnd))
944
if (!
WindowsListView
.GetItemRect(_hwnd, _item, NativeMethods.LVIR_LABEL, out itemRectangle))
958
Misc.MouseClick(clickPoint.x, clickPoint.y, !
WindowsListView
.ListViewSingleClickActivate(_hwnd));
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (8)
103
return
WindowsListView
.GetItemToolTipText(_hwnd);
150
if (
WindowsListView
.FullRowSelect (hwnd) &&
WindowsListView
.IsDetailMode (hwnd))
165
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))
177
if (!
WindowsListView
.GetItemRect(hwnd, item, NativeMethods.LVIR_BOUNDS, out wholeItem))
184
if (!
WindowsListView
.GetItemRect(hwnd, item, NativeMethods.LVIR_SELECTBOUNDS, out selectable))
215
ListViewItem.CheckState current = (ListViewItem.CheckState)
WindowsListView
.GetCheckedState (_hwnd, _listviewItem);
MS\Internal\AutomationProxies\WindowsListViewScroll.cs (4)
79
if (isVerticalScroll &&
WindowsListView
.InReportView (_hwnd))
86
int size =
WindowsListView
.ApproximateViewRect (_hwnd);
105
if (
WindowsListView
.Scroll (_hwnd, (IntPtr) dx, (IntPtr) dy))
130
WindowsListView
.Scroll (_hwnd, (IntPtr) dx, (IntPtr) dy);
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (14)
35
_cControlType =
WindowsListView
.ListViewEditable(hwnd) ? ControlType.Edit : ControlType.Text;
57
if (iid == ValuePattern.Pattern && _item == 0 &&
WindowsListView
.ListViewEditable (_hwnd))
81
if (!
WindowsListView
.GetSubItemRect (_hwnd, _itemParent, _item, lvir, out itemRectangle))
89
if (
WindowsListView
.FullRowSelect(_hwnd) && !
WindowsListView
.HasJustifyColumnsExStyle(_hwnd) &&
90
!
WindowsListView
.IsIconView(_hwnd) && _item == 0 && 1 < ListViewItem.GetSubItemCount(_hwnd))
94
if (!
WindowsListView
.GetSubItemRect(_hwnd, _itemParent, 1, NativeMethods.LVIR_BOUNDS, out itemRectangle1))
191
return
WindowsListView
.GetItemToolTipText(_hwnd);
209
return
WindowsListView
.SetItemFocused (_hwnd, this._itemParent);
240
return !
WindowsListView
.ListViewEditable (_hwnd);
253
if (!
WindowsListView
.IsGroupViewEnabled (_hwnd))
328
IntPtr hwndHeader =
WindowsListView
.ListViewGetHeader (_hwnd);
350
NativeMethods.LVHITTESTINFO_INTERNAL hitTest =
WindowsListView
.SubitemHitTest (hwnd, item, new NativeMethods.Win32Point (x, y));
380
return
WindowsListView
.IsItemFocused (_hwnd, _itemParent);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (5)
86
WindowsListView
wlv = (
WindowsListView
)
WindowsListView
.Create (hwndParent, 0);
278
if (
WindowsListView
.IsListMode(hwndParent))
283
else if (
WindowsListView
.IsDetailMode(hwndParent))