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