5 instantiations of WindowsListView
UIAutomationClientSideProviders (5)
MS\Internal\AutomationProxies\WindowsListView.cs (5)
102WindowsListView lv = new WindowsListView(hwnd, null, 0); 125WindowsListView wlv = new WindowsListView( hwnd, null, -1 ); 141ProxySimple el = new WindowsListView( hwnd, null, -1 ); 1195IRawElementProviderFragment wlv = (IRawElementProviderFragment) new WindowsListView (hwnd, null, -1); 1849WindowsListView wlv = new WindowsListView (hwnd, null, -1);
119 references to WindowsListView
UIAutomationClientSideProviders (119)
MS\Internal\AutomationProxies\Main.cs (1)
43new ClientSideProviderDescription(new ClientSideProviderFactoryCallback(MS.Internal.AutomationProxies.WindowsListView.Create), "SysListView32", null, ClientSideProviderMatchIndicator.AllowSubstringMatch),
MS\Internal\AutomationProxies\WindowsListView.cs (8)
86WinEventTracker.AddToNotificationList(_hwnd, new WinEventTracker.ProxyRaiseEvents (WindowsListView.GroupSpecificEvents), _groupEvents); 102WindowsListView lv = new WindowsListView(hwnd, null, 0); 125WindowsListView wlv = new WindowsListView( hwnd, null, -1 ); 407GroupManager manager = WindowsListView._groupsCollection [_hwnd]; 422NativeMethods.LVHITTESTINFO_INTERNAL hitTest = WindowsListView.SubitemHitTest(_hwnd, new NativeMethods.Win32Point(x, y)); 447hitTest = WindowsListView.SubitemHitTest(_hwnd, new NativeMethods.Win32Point(x, y)); 1200StructureChangedEventArgs change = new StructureChangedEventArgs( StructureChangeType.ChildrenInvalidated, ( (WindowsListView)wlv ).MakeRuntimeId() ); 1849WindowsListView wlv = new WindowsListView (hwnd, null, -1);
MS\Internal\AutomationProxies\WindowsListViewGroup.cs (12)
57else if (iid == ExpandCollapsePattern.Pattern && WindowsListView.IsGroupViewEnabled(_hwnd)) 70GroupManager manager = WindowsListView._groupsCollection [_hwnd]; 285NativeMethods.LVHITTESTINFO_INTERNAL hitTest = WindowsListView.SubitemHitTest (_hwnd, pt); 374if (WindowsListView.IsDetailMode (_hwnd)) 463int index = WindowsListView.GetItemNext(hwnd, -1, NativeMethods.LVNI_FOCUSED); 552System.Diagnostics.Debug.Assert (!WindowsListView.IsDetailMode (hwnd), "GetColumnCountExternal: called when lv is in Detail mode"); 563GroupManager manager = WindowsListView._groupsCollection [hwnd]; 662GroupManager manager = WindowsListView._groupsCollection [hwnd]; 733if (WindowsListView.IsDetailMode (hwnd)) 754if (WindowsListView.IsDetailMode (hwnd)) 792if (WindowsListView.GetItemRect(hwnd, items[0], NativeMethods.LVIR_BOUNDS, out rc)) 799if (!WindowsListView.GetItemRect(hwnd, items[i], NativeMethods.LVIR_BOUNDS, out rcNext))
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (7)
52if (!WindowsListView.IsGroupViewEnabled(hwnd)) 203int itemCount = WindowsListView.GetItemCount (_hwnd); 368int itemCount = WindowsListView.GetItemCount(hwnd); 618WindowsListView.GetItemRect(_hwnd, item1, NativeMethods.LVIR_BOUNDS, out rc1); 621WindowsListView.GetItemRect(_hwnd, item2, NativeMethods.LVIR_BOUNDS, out rc2); 721WindowsListView.GetItemRect(_hwnd, _items[0], NativeMethods.LVIR_BOUNDS, out item); 734WindowsListView.GetItemRect(_hwnd, _items[count - 1], NativeMethods.LVIR_BOUNDS, out item);
MS\Internal\AutomationProxies\WindowsListViewItem.cs (60)
33if (WindowsListView.IsDetailMode(hwnd)) 59if (iid == InvokePattern.Pattern && WindowsListView.ListViewInvokable(_hwnd)) 69if (iid == ValuePattern.Pattern && WindowsListView.ListViewEditable (_hwnd)) 111WindowsListView._groupsCollection.EnsureCreation (_hwnd); 113GroupManager manager = WindowsListView._groupsCollection[_hwnd]; 147if (WindowsListView.GetItemRect(_hwnd, _item, NativeMethods.LVIR_BOUNDS, out itemRectangle)) 213return WindowsListView.SetItemFocused (_hwnd, _item); 257if (WindowsListView.IsDetailMode (_hwnd)) 281else if (WindowsListView.IsDetailMode (_hwnd)) 300else if (WindowsListView.IsDetailMode(_hwnd)) 315if (WindowsListView.IsDetailMode (_hwnd)) 347if (WindowsListView.IsDetailMode (_hwnd)) 390if (!WindowsListView.MultiSelected (_hwnd) && WindowsListView.IsItemSelected (_hwnd, _item)) 396WindowsListView.UnselectAll (_hwnd); 399if (!WindowsListView.SelectItem(_hwnd, _item)) 415if (WindowsListView.IsItemSelected (_hwnd, _item)) 421if (!WindowsListView.MultiSelected(_hwnd)) 428if (selectionRequired || WindowsListView.GetSelectedItemCount(_hwnd) > 0) 437if (!WindowsListView.SelectItem(_hwnd, _item)) 453if (!WindowsListView.IsItemSelected (_hwnd, _item)) 459if (!WindowsListView.MultiSelected (_hwnd)) 473if (!WindowsListView.UnSelectItem(_hwnd, _item)) 484return WindowsListView.IsItemSelected (_hwnd, _item); 498while (!(parent is WindowsListView)) 521if (WindowsListView.Scrollable (_hwnd)) 524WindowsListView.EnsureVisible (_hwnd, _item, true); 567return !WindowsListView.ListViewEditable (_hwnd); 580if (WindowsListView.IsGroupViewEnabled (_hwnd)) 586if (WindowsListView.IsListMode (_hwnd)) 588int itemCount = WindowsListView.GetItemCount (_hwnd); 589int rowCount = WindowsListView.GetRowCountListMode (_hwnd, itemCount); 595int columnCount = WindowsListView.GetColumnCountOtherModes (_hwnd); 605if (WindowsListView.IsGroupViewEnabled (_hwnd)) 611if (WindowsListView.IsListMode (_hwnd)) 613int itemCount = WindowsListView.GetItemCount (_hwnd); 614int rowCount = WindowsListView.GetRowCountListMode (_hwnd, itemCount); 619int columnCount = WindowsListView.GetColumnCountOtherModes (_hwnd); 663if (!WindowsListView.Scrollable(_hwnd)) 669WindowsListView.EnsureVisible(_hwnd, _item, false); 685if(WindowsListView.IsDetailMode(hwnd)) 687IntPtr hwndHeader = WindowsListView.ListViewGetHeader (hwnd); 694return WindowsListView.HeaderItemCount (hwndHeader); 709return WindowsListView.GetItemText (hwnd, lvitem); 715if (!WindowsListView.CheckBoxes (hwnd)) 722return (CheckState.NoCheckbox != (CheckState) WindowsListView.GetCheckedState (hwnd, item)); 729System.Diagnostics.Debug.Assert (WindowsListView.IsGroupViewEnabled (hwnd), "GetGroupID: called when lv does not have groups"); 749if (!WindowsListView.ListViewEditable (hwnd)) 757WindowsListView.SetItemFocused (hwnd, item); 760IntPtr hwndEdit = WindowsListView.ListViewEditLabel (hwnd, item); 841return WindowsListView.IsItemFocused (_hwnd, _item); 849IntPtr hwndHeader = WindowsListView.ListViewGetHeader(_hwnd); 899if (WindowsListView.IsDetailMode (hwnd)) 904return (WindowsListView.IsListMode (hwnd) || WindowsListView.ListViewAutoArrange (hwnd)); 918if (!WindowsListView.GetItemRect(_hwnd, _item, NativeMethods.LVIR_LABEL, out itemRectangle)) 923if (WindowsListView.IsDetailMode (_hwnd) && !WindowsListView.FullRowSelect (_hwnd)) 939if (!WindowsListView.GetItemRect(_hwnd, _item, NativeMethods.LVIR_LABEL, out itemRectangle)) 953Misc.MouseClick(clickPoint.x, clickPoint.y, !WindowsListView.ListViewSingleClickActivate(_hwnd));
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (8)
100return WindowsListView.GetItemToolTipText(_hwnd); 147if (WindowsListView.FullRowSelect (hwnd) && WindowsListView.IsDetailMode (hwnd)) 162if ((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)) 174if (!WindowsListView.GetItemRect(hwnd, item, NativeMethods.LVIR_BOUNDS, out wholeItem)) 181if (!WindowsListView.GetItemRect(hwnd, item, NativeMethods.LVIR_SELECTBOUNDS, out selectable)) 212ListViewItem.CheckState current = (ListViewItem.CheckState) WindowsListView.GetCheckedState (_hwnd, _listviewItem);
MS\Internal\AutomationProxies\WindowsListViewScroll.cs (4)
78if (isVerticalScroll && WindowsListView.InReportView (_hwnd)) 85int size = WindowsListView.ApproximateViewRect (_hwnd); 104if (WindowsListView.Scroll (_hwnd, (IntPtr) dx, (IntPtr) dy)) 129WindowsListView.Scroll (_hwnd, (IntPtr) dx, (IntPtr) dy);
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (14)
33_cControlType = WindowsListView.ListViewEditable(hwnd) ? ControlType.Edit : ControlType.Text; 55if (iid == ValuePattern.Pattern && _item == 0 && WindowsListView.ListViewEditable (_hwnd)) 79if (!WindowsListView.GetSubItemRect (_hwnd, _itemParent, _item, lvir, out itemRectangle)) 87if (WindowsListView.FullRowSelect(_hwnd) && !WindowsListView.HasJustifyColumnsExStyle(_hwnd) && 88!WindowsListView.IsIconView(_hwnd) && _item == 0 && 1 < ListViewItem.GetSubItemCount(_hwnd)) 92if (!WindowsListView.GetSubItemRect(_hwnd, _itemParent, 1, NativeMethods.LVIR_BOUNDS, out itemRectangle1)) 189return WindowsListView.GetItemToolTipText(_hwnd); 207return WindowsListView.SetItemFocused (_hwnd, this._itemParent); 238return !WindowsListView.ListViewEditable (_hwnd); 251if (!WindowsListView.IsGroupViewEnabled (_hwnd)) 326IntPtr hwndHeader = WindowsListView.ListViewGetHeader (_hwnd); 348NativeMethods.LVHITTESTINFO_INTERNAL hitTest = WindowsListView.SubitemHitTest (hwnd, item, new NativeMethods.Win32Point (x, y)); 378return WindowsListView.IsItemFocused (_hwnd, _itemParent);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (5)
81WindowsListView wlv = (WindowsListView) WindowsListView.Create (hwndParent, 0); 271if (WindowsListView.IsListMode(hwndParent)) 276else if (WindowsListView.IsDetailMode(hwndParent))