3 instantiations of WindowsTreeView
UIAutomationClientSideProviders (3)
MS\Internal\AutomationProxies\WindowsTreeView.cs (3)
55WindowsTreeView wtv = new WindowsTreeView(hwnd, null, 0); 70WindowsTreeView wtv = new WindowsTreeView (hwnd, null, -1); 96el = new WindowsTreeView (hwnd, null, -1);
46 references to WindowsTreeView
UIAutomationClientSideProviders (46)
MS\Internal\AutomationProxies\Main.cs (1)
69new ClientSideProviderDescription(new ClientSideProviderFactoryCallback(MS.Internal.AutomationProxies.WindowsTreeView.Create), "SysTreeView32", null, ClientSideProviderMatchIndicator.AllowSubstringMatch),
MS\Internal\AutomationProxies\WindowsTreeView.cs (45)
55WindowsTreeView wtv = new WindowsTreeView(hwnd, null, 0); 70WindowsTreeView wtv = new WindowsTreeView (hwnd, null, -1); 633if (text.Equals(WindowsTreeView.GetItemText(hwnd, item))) 842return WindowsTreeView.GetItemRect(_hwnd, _hItem, true).ToRect(false); 891if (parent is WindowsTreeView) 932return WindowsTreeView.SelectItem (_hwnd, _hItem); 984if (!WindowsTreeView.SelectItem(_hwnd, _hItem)) 1013if (selectionRequired || WindowsTreeView.GetSelection(_hwnd) != IntPtr.Zero) 1020if (!WindowsTreeView.SelectItem(_hwnd, _hItem)) 1065System.Diagnostics.Debug.Assert (topLevelParent is WindowsTreeView, "Invalid Parent for a TreeView Item"); 1100WindowsTreeView.Expand (_hwnd, _hItem); 1125WindowsTreeView.Collapse (_hwnd, _hItem); 1158if (!WindowsTreeView.SetItemText(_hwnd, _hItem, val)) 1204WindowsTreeView.SetCheckState(_hwnd, _hItem, GetToggleState() != ToggleState.On); 1311if (!WindowsTreeView.IsItemExpanded (_hwnd, current._hItem)) 1323IntPtr hNext = WindowsTreeView.GetNextItem (_hwnd, ((TreeViewItem) child)._hItem); 1333IntPtr hPrev = WindowsTreeView.GetPreviousItem (_hwnd, ((TreeViewItem) child)._hItem); 1341IntPtr hChild = WindowsTreeView.GetFirstChild (_hwnd, _hItem); 1354IntPtr hChild = WindowsTreeView.GetFirstChild (_hwnd, _hItem); 1359for (IntPtr temp = WindowsTreeView.GetNextItem (_hwnd, hChild); temp != IntPtr.Zero; temp = WindowsTreeView.GetNextItem (_hwnd, hChild)) 1373bool expanded = WindowsTreeView.IsItemExpanded (_hwnd, _hItem); 1381bool hasChildren = WindowsTreeView.TreeViewItem_HasChildren (_hwnd, _hItem); 1389WindowsTreeView.CheckState state = WindowsTreeView.CheckState.NoCheckbox; 1404state = Misc.IsBitSet((int)stateMSAA, (int)AccessibleState.Checked) ? WindowsTreeView.CheckState.Checked : WindowsTreeView.CheckState.Unchecked; 1408if (state == WindowsTreeView.CheckState.NoCheckbox) 1410state = (WindowsTreeView.CheckState)WindowsTreeView.GetCheckState(_hwnd, _hItem); 1415case WindowsTreeView.CheckState.NoCheckbox : 1421case WindowsTreeView.CheckState.Checked : 1426case WindowsTreeView.CheckState.Unchecked : 1439WindowsTreeView.CheckState state = WindowsTreeView.CheckState.NoCheckbox; 1452state = Misc.IsBitSet((int)stateMSAA, (int)AccessibleState.Checked) ? WindowsTreeView.CheckState.Checked : WindowsTreeView.CheckState.Unchecked; 1455return state == WindowsTreeView.CheckState.Checked; 1461NativeMethods.Win32Rect rectItem = WindowsTreeView.GetItemRect(_hwnd, _hItem, true); 1487int selected = WindowsTreeView.GetItemState(_hwnd, _hItem, NativeMethods.TVIS_SELECTED); 1507isCheckbox = WindowsTreeView.CheckState.NoCheckbox != (WindowsTreeView.CheckState)WindowsTreeView.GetCheckState(_hwnd, _hItem); 1536return WindowsTreeView.GetItemText (_hwnd, _hItem); 1551if (WindowsTreeView.GetItem(_hwnd, _hItem, NativeMethods.TVIF_IMAGE | NativeMethods.TVIF_STATE, out treeItem))