3 instantiations of WindowsTreeView
UIAutomationClientsideProviders (3)
MS\Internal\AutomationProxies\WindowsTreeView.cs (3)
64WindowsTreeView wtv = new WindowsTreeView(hwnd, null, 0); 79WindowsTreeView wtv = new WindowsTreeView (hwnd, null, -1); 105el = new WindowsTreeView (hwnd, null, -1);
46 references to WindowsTreeView
UIAutomationClientsideProviders (46)
MS\Internal\AutomationProxies\Main.cs (1)
77new ClientSideProviderDescription(new ClientSideProviderFactoryCallback(MS.Internal.AutomationProxies.WindowsTreeView.Create), "SysTreeView32", null, ClientSideProviderMatchIndicator.AllowSubstringMatch),
MS\Internal\AutomationProxies\WindowsTreeView.cs (45)
64WindowsTreeView wtv = new WindowsTreeView(hwnd, null, 0); 79WindowsTreeView wtv = new WindowsTreeView (hwnd, null, -1); 642if (text.Equals(WindowsTreeView.GetItemText(hwnd, item))) 851return WindowsTreeView.GetItemRect(_hwnd, _hItem, true).ToRect(false); 900if (parent is WindowsTreeView) 941return WindowsTreeView.SelectItem (_hwnd, _hItem); 993if (!WindowsTreeView.SelectItem(_hwnd, _hItem)) 1022if (selectionRequired || WindowsTreeView.GetSelection(_hwnd) != IntPtr.Zero) 1029if (!WindowsTreeView.SelectItem(_hwnd, _hItem)) 1074System.Diagnostics.Debug.Assert (topLevelParent is WindowsTreeView, "Invalid Parent for a TreeView Item"); 1109WindowsTreeView.Expand (_hwnd, _hItem); 1134WindowsTreeView.Collapse (_hwnd, _hItem); 1167if (!WindowsTreeView.SetItemText(_hwnd, _hItem, val)) 1213WindowsTreeView.SetCheckState(_hwnd, _hItem, GetToggleState() != ToggleState.On); 1320if (!WindowsTreeView.IsItemExpanded (_hwnd, current._hItem)) 1332IntPtr hNext = WindowsTreeView.GetNextItem (_hwnd, ((TreeViewItem) child)._hItem); 1342IntPtr hPrev = WindowsTreeView.GetPreviousItem (_hwnd, ((TreeViewItem) child)._hItem); 1350IntPtr hChild = WindowsTreeView.GetFirstChild (_hwnd, _hItem); 1363IntPtr hChild = WindowsTreeView.GetFirstChild (_hwnd, _hItem); 1368for (IntPtr temp = WindowsTreeView.GetNextItem (_hwnd, hChild); temp != IntPtr.Zero; temp = WindowsTreeView.GetNextItem (_hwnd, hChild)) 1382bool expanded = WindowsTreeView.IsItemExpanded (_hwnd, _hItem); 1390bool hasChildren = WindowsTreeView.TreeViewItem_HasChildren (_hwnd, _hItem); 1398WindowsTreeView.CheckState state = WindowsTreeView.CheckState.NoCheckbox; 1413state = Misc.IsBitSet((int)stateMSAA, (int)AccessibleState.Checked) ? WindowsTreeView.CheckState.Checked : WindowsTreeView.CheckState.Unchecked; 1417if (state == WindowsTreeView.CheckState.NoCheckbox) 1419state = (WindowsTreeView.CheckState)WindowsTreeView.GetCheckState(_hwnd, _hItem); 1424case WindowsTreeView.CheckState.NoCheckbox : 1430case WindowsTreeView.CheckState.Checked : 1435case WindowsTreeView.CheckState.Unchecked : 1448WindowsTreeView.CheckState state = WindowsTreeView.CheckState.NoCheckbox; 1461state = Misc.IsBitSet((int)stateMSAA, (int)AccessibleState.Checked) ? WindowsTreeView.CheckState.Checked : WindowsTreeView.CheckState.Unchecked; 1464return state == WindowsTreeView.CheckState.Checked; 1470NativeMethods.Win32Rect rectItem = WindowsTreeView.GetItemRect(_hwnd, _hItem, true); 1496int selected = WindowsTreeView.GetItemState(_hwnd, _hItem, NativeMethods.TVIS_SELECTED); 1516isCheckbox = WindowsTreeView.CheckState.NoCheckbox != (WindowsTreeView.CheckState)WindowsTreeView.GetCheckState(_hwnd, _hItem); 1545return WindowsTreeView.GetItemText (_hwnd, _hItem); 1560if (WindowsTreeView.GetItem(_hwnd, _hItem, NativeMethods.TVIF_IMAGE | NativeMethods.TVIF_STATE, out treeItem))