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