5 instantiations of WindowsListView
UIAutomationClientSideProviders (5)
MS\Internal\AutomationProxies\WindowsListView.cs (5)
103WindowsListView lv = new WindowsListView(hwnd, null, 0); 126WindowsListView wlv = new WindowsListView( hwnd, null, -1 ); 142ProxySimple el = new WindowsListView( hwnd, null, -1 ); 1196IRawElementProviderFragment wlv = (IRawElementProviderFragment) new WindowsListView (hwnd, null, -1); 1850WindowsListView wlv = new WindowsListView (hwnd, null, -1);
119 references to WindowsListView
UIAutomationClientSideProviders (119)
MS\Internal\AutomationProxies\Main.cs (1)
44new ClientSideProviderDescription(new ClientSideProviderFactoryCallback(MS.Internal.AutomationProxies.WindowsListView.Create), "SysListView32", null, ClientSideProviderMatchIndicator.AllowSubstringMatch),
MS\Internal\AutomationProxies\WindowsListView.cs (8)
87WinEventTracker.AddToNotificationList(_hwnd, new WinEventTracker.ProxyRaiseEvents (WindowsListView.GroupSpecificEvents), _groupEvents); 103WindowsListView lv = new WindowsListView(hwnd, null, 0); 126WindowsListView wlv = new WindowsListView( hwnd, null, -1 ); 408GroupManager manager = WindowsListView._groupsCollection [_hwnd]; 423NativeMethods.LVHITTESTINFO_INTERNAL hitTest = WindowsListView.SubitemHitTest(_hwnd, new NativeMethods.Win32Point(x, y)); 448hitTest = WindowsListView.SubitemHitTest(_hwnd, new NativeMethods.Win32Point(x, y)); 1201StructureChangedEventArgs change = new StructureChangedEventArgs( StructureChangeType.ChildrenInvalidated, ( (WindowsListView)wlv ).MakeRuntimeId() ); 1850WindowsListView wlv = new WindowsListView (hwnd, null, -1);
MS\Internal\AutomationProxies\WindowsListViewGroup.cs (12)
58else if (iid == ExpandCollapsePattern.Pattern && WindowsListView.IsGroupViewEnabled(_hwnd)) 71GroupManager manager = WindowsListView._groupsCollection [_hwnd]; 286NativeMethods.LVHITTESTINFO_INTERNAL hitTest = WindowsListView.SubitemHitTest (_hwnd, pt); 375if (WindowsListView.IsDetailMode (_hwnd)) 464int index = WindowsListView.GetItemNext(hwnd, -1, NativeMethods.LVNI_FOCUSED); 553System.Diagnostics.Debug.Assert (!WindowsListView.IsDetailMode (hwnd), "GetColumnCountExternal: called when lv is in Detail mode"); 564GroupManager manager = WindowsListView._groupsCollection [hwnd]; 663GroupManager manager = WindowsListView._groupsCollection [hwnd]; 734if (WindowsListView.IsDetailMode (hwnd)) 755if (WindowsListView.IsDetailMode (hwnd)) 793if (WindowsListView.GetItemRect(hwnd, items[0], NativeMethods.LVIR_BOUNDS, out rc)) 800if (!WindowsListView.GetItemRect(hwnd, items[i], NativeMethods.LVIR_BOUNDS, out rcNext))
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (7)
53if (!WindowsListView.IsGroupViewEnabled(hwnd)) 204int itemCount = WindowsListView.GetItemCount (_hwnd); 369int itemCount = WindowsListView.GetItemCount(hwnd); 619WindowsListView.GetItemRect(_hwnd, item1, NativeMethods.LVIR_BOUNDS, out rc1); 622WindowsListView.GetItemRect(_hwnd, item2, NativeMethods.LVIR_BOUNDS, out rc2); 722WindowsListView.GetItemRect(_hwnd, _items[0], NativeMethods.LVIR_BOUNDS, out item); 735WindowsListView.GetItemRect(_hwnd, _items[count - 1], NativeMethods.LVIR_BOUNDS, out item);
MS\Internal\AutomationProxies\WindowsListViewItem.cs (60)
34if (WindowsListView.IsDetailMode(hwnd)) 60if (iid == InvokePattern.Pattern && WindowsListView.ListViewInvokable(_hwnd)) 70if (iid == ValuePattern.Pattern && WindowsListView.ListViewEditable (_hwnd)) 112WindowsListView._groupsCollection.EnsureCreation (_hwnd); 114GroupManager manager = WindowsListView._groupsCollection[_hwnd]; 148if (WindowsListView.GetItemRect(_hwnd, _item, NativeMethods.LVIR_BOUNDS, out itemRectangle)) 214return WindowsListView.SetItemFocused (_hwnd, _item); 258if (WindowsListView.IsDetailMode (_hwnd)) 282else if (WindowsListView.IsDetailMode (_hwnd)) 301else if (WindowsListView.IsDetailMode(_hwnd)) 316if (WindowsListView.IsDetailMode (_hwnd)) 348if (WindowsListView.IsDetailMode (_hwnd)) 391if (!WindowsListView.MultiSelected (_hwnd) && WindowsListView.IsItemSelected (_hwnd, _item)) 397WindowsListView.UnselectAll (_hwnd); 400if (!WindowsListView.SelectItem(_hwnd, _item)) 416if (WindowsListView.IsItemSelected (_hwnd, _item)) 422if (!WindowsListView.MultiSelected(_hwnd)) 429if (selectionRequired || WindowsListView.GetSelectedItemCount(_hwnd) > 0) 438if (!WindowsListView.SelectItem(_hwnd, _item)) 454if (!WindowsListView.IsItemSelected (_hwnd, _item)) 460if (!WindowsListView.MultiSelected (_hwnd)) 474if (!WindowsListView.UnSelectItem(_hwnd, _item)) 485return WindowsListView.IsItemSelected (_hwnd, _item); 499while (!(parent is WindowsListView)) 522if (WindowsListView.Scrollable (_hwnd)) 525WindowsListView.EnsureVisible (_hwnd, _item, true); 568return !WindowsListView.ListViewEditable (_hwnd); 581if (WindowsListView.IsGroupViewEnabled (_hwnd)) 587if (WindowsListView.IsListMode (_hwnd)) 589int itemCount = WindowsListView.GetItemCount (_hwnd); 590int rowCount = WindowsListView.GetRowCountListMode (_hwnd, itemCount); 596int columnCount = WindowsListView.GetColumnCountOtherModes (_hwnd); 606if (WindowsListView.IsGroupViewEnabled (_hwnd)) 612if (WindowsListView.IsListMode (_hwnd)) 614int itemCount = WindowsListView.GetItemCount (_hwnd); 615int rowCount = WindowsListView.GetRowCountListMode (_hwnd, itemCount); 620int columnCount = WindowsListView.GetColumnCountOtherModes (_hwnd); 664if (!WindowsListView.Scrollable(_hwnd)) 670WindowsListView.EnsureVisible(_hwnd, _item, false); 686if(WindowsListView.IsDetailMode(hwnd)) 688IntPtr hwndHeader = WindowsListView.ListViewGetHeader (hwnd); 695return WindowsListView.HeaderItemCount (hwndHeader); 710return WindowsListView.GetItemText (hwnd, lvitem); 716if (!WindowsListView.CheckBoxes (hwnd)) 723return (CheckState.NoCheckbox != (CheckState) WindowsListView.GetCheckedState (hwnd, item)); 730System.Diagnostics.Debug.Assert (WindowsListView.IsGroupViewEnabled (hwnd), "GetGroupID: called when lv does not have groups"); 750if (!WindowsListView.ListViewEditable (hwnd)) 758WindowsListView.SetItemFocused (hwnd, item); 761IntPtr hwndEdit = WindowsListView.ListViewEditLabel (hwnd, item); 842return WindowsListView.IsItemFocused (_hwnd, _item); 850IntPtr hwndHeader = WindowsListView.ListViewGetHeader(_hwnd); 900if (WindowsListView.IsDetailMode (hwnd)) 905return (WindowsListView.IsListMode (hwnd) || WindowsListView.ListViewAutoArrange (hwnd)); 919if (!WindowsListView.GetItemRect(_hwnd, _item, NativeMethods.LVIR_LABEL, out itemRectangle)) 924if (WindowsListView.IsDetailMode (_hwnd) && !WindowsListView.FullRowSelect (_hwnd)) 940if (!WindowsListView.GetItemRect(_hwnd, _item, NativeMethods.LVIR_LABEL, out itemRectangle)) 954Misc.MouseClick(clickPoint.x, clickPoint.y, !WindowsListView.ListViewSingleClickActivate(_hwnd));
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (8)
101return WindowsListView.GetItemToolTipText(_hwnd); 148if (WindowsListView.FullRowSelect (hwnd) && WindowsListView.IsDetailMode (hwnd)) 163if ((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)) 175if (!WindowsListView.GetItemRect(hwnd, item, NativeMethods.LVIR_BOUNDS, out wholeItem)) 182if (!WindowsListView.GetItemRect(hwnd, item, NativeMethods.LVIR_SELECTBOUNDS, out selectable)) 213ListViewItem.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)
34_cControlType = WindowsListView.ListViewEditable(hwnd) ? ControlType.Edit : ControlType.Text; 56if (iid == ValuePattern.Pattern && _item == 0 && WindowsListView.ListViewEditable (_hwnd)) 80if (!WindowsListView.GetSubItemRect (_hwnd, _itemParent, _item, lvir, out itemRectangle)) 88if (WindowsListView.FullRowSelect(_hwnd) && !WindowsListView.HasJustifyColumnsExStyle(_hwnd) && 89!WindowsListView.IsIconView(_hwnd) && _item == 0 && 1 < ListViewItem.GetSubItemCount(_hwnd)) 93if (!WindowsListView.GetSubItemRect(_hwnd, _itemParent, 1, NativeMethods.LVIR_BOUNDS, out itemRectangle1)) 190return WindowsListView.GetItemToolTipText(_hwnd); 208return WindowsListView.SetItemFocused (_hwnd, this._itemParent); 239return !WindowsListView.ListViewEditable (_hwnd); 252if (!WindowsListView.IsGroupViewEnabled (_hwnd)) 327IntPtr hwndHeader = WindowsListView.ListViewGetHeader (_hwnd); 349NativeMethods.LVHITTESTINFO_INTERNAL hitTest = WindowsListView.SubitemHitTest (hwnd, item, new NativeMethods.Win32Point (x, y)); 379return WindowsListView.IsItemFocused (_hwnd, _itemParent);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (5)
82WindowsListView wlv = (WindowsListView) WindowsListView.Create (hwndParent, 0); 272if (WindowsListView.IsListMode(hwndParent)) 277else if (WindowsListView.IsDetailMode(hwndParent))