3 instantiations of WindowsTreeView
UIAutomationClientSideProviders (3)
MS\Internal\AutomationProxies\WindowsTreeView.cs (3)
52WindowsTreeView wtv = new WindowsTreeView(hwnd, null, 0); 67WindowsTreeView wtv = new WindowsTreeView (hwnd, null, -1); 93el = new WindowsTreeView (hwnd, null, -1);
46 references to WindowsTreeView
UIAutomationClientSideProviders (46)
MS\Internal\AutomationProxies\Main.cs (1)
65new ClientSideProviderDescription(new ClientSideProviderFactoryCallback(MS.Internal.AutomationProxies.WindowsTreeView.Create), "SysTreeView32", null, ClientSideProviderMatchIndicator.AllowSubstringMatch),
MS\Internal\AutomationProxies\WindowsTreeView.cs (45)
52WindowsTreeView wtv = new WindowsTreeView(hwnd, null, 0); 67WindowsTreeView wtv = new WindowsTreeView (hwnd, null, -1); 626if (text.Equals(WindowsTreeView.GetItemText(hwnd, item))) 835return WindowsTreeView.GetItemRect(_hwnd, _hItem, true).ToRect(false); 884if (parent is WindowsTreeView) 925return WindowsTreeView.SelectItem (_hwnd, _hItem); 977if (!WindowsTreeView.SelectItem(_hwnd, _hItem)) 1006if (selectionRequired || WindowsTreeView.GetSelection(_hwnd) != IntPtr.Zero) 1013if (!WindowsTreeView.SelectItem(_hwnd, _hItem)) 1058System.Diagnostics.Debug.Assert (topLevelParent is WindowsTreeView, "Invalid Parent for a TreeView Item"); 1093WindowsTreeView.Expand (_hwnd, _hItem); 1118WindowsTreeView.Collapse (_hwnd, _hItem); 1151if (!WindowsTreeView.SetItemText(_hwnd, _hItem, val)) 1197WindowsTreeView.SetCheckState(_hwnd, _hItem, GetToggleState() != ToggleState.On); 1304if (!WindowsTreeView.IsItemExpanded (_hwnd, current._hItem)) 1316IntPtr hNext = WindowsTreeView.GetNextItem (_hwnd, ((TreeViewItem) child)._hItem); 1326IntPtr hPrev = WindowsTreeView.GetPreviousItem (_hwnd, ((TreeViewItem) child)._hItem); 1334IntPtr hChild = WindowsTreeView.GetFirstChild (_hwnd, _hItem); 1347IntPtr hChild = WindowsTreeView.GetFirstChild (_hwnd, _hItem); 1352for (IntPtr temp = WindowsTreeView.GetNextItem (_hwnd, hChild); temp != IntPtr.Zero; temp = WindowsTreeView.GetNextItem (_hwnd, hChild)) 1366bool expanded = WindowsTreeView.IsItemExpanded (_hwnd, _hItem); 1374bool hasChildren = WindowsTreeView.TreeViewItem_HasChildren (_hwnd, _hItem); 1382WindowsTreeView.CheckState state = WindowsTreeView.CheckState.NoCheckbox; 1397state = Misc.IsBitSet((int)stateMSAA, (int)AccessibleState.Checked) ? WindowsTreeView.CheckState.Checked : WindowsTreeView.CheckState.Unchecked; 1401if (state == WindowsTreeView.CheckState.NoCheckbox) 1403state = (WindowsTreeView.CheckState)WindowsTreeView.GetCheckState(_hwnd, _hItem); 1408case WindowsTreeView.CheckState.NoCheckbox : 1414case WindowsTreeView.CheckState.Checked : 1419case WindowsTreeView.CheckState.Unchecked : 1432WindowsTreeView.CheckState state = WindowsTreeView.CheckState.NoCheckbox; 1445state = Misc.IsBitSet((int)stateMSAA, (int)AccessibleState.Checked) ? WindowsTreeView.CheckState.Checked : WindowsTreeView.CheckState.Unchecked; 1448return state == WindowsTreeView.CheckState.Checked; 1454NativeMethods.Win32Rect rectItem = WindowsTreeView.GetItemRect(_hwnd, _hItem, true); 1480int selected = WindowsTreeView.GetItemState(_hwnd, _hItem, NativeMethods.TVIS_SELECTED); 1500isCheckbox = WindowsTreeView.CheckState.NoCheckbox != (WindowsTreeView.CheckState)WindowsTreeView.GetCheckState(_hwnd, _hItem); 1529return WindowsTreeView.GetItemText (_hwnd, _hItem); 1544if (WindowsTreeView.GetItem(_hwnd, _hItem, NativeMethods.TVIF_IMAGE | NativeMethods.TVIF_STATE, out treeItem))