3 instantiations of WindowsTreeView
UIAutomationClientSideProviders (3)
MS\Internal\AutomationProxies\WindowsTreeView.cs (3)
53WindowsTreeView wtv = new WindowsTreeView(hwnd, null, 0); 68WindowsTreeView wtv = new WindowsTreeView (hwnd, null, -1); 94el = new WindowsTreeView (hwnd, null, -1);
46 references to WindowsTreeView
UIAutomationClientSideProviders (46)
MS\Internal\AutomationProxies\Main.cs (1)
66new ClientSideProviderDescription(new ClientSideProviderFactoryCallback(MS.Internal.AutomationProxies.WindowsTreeView.Create), "SysTreeView32", null, ClientSideProviderMatchIndicator.AllowSubstringMatch),
MS\Internal\AutomationProxies\WindowsTreeView.cs (45)
53WindowsTreeView wtv = new WindowsTreeView(hwnd, null, 0); 68WindowsTreeView wtv = new WindowsTreeView (hwnd, null, -1); 631if (text.Equals(WindowsTreeView.GetItemText(hwnd, item))) 840return WindowsTreeView.GetItemRect(_hwnd, _hItem, true).ToRect(false); 889if (parent is WindowsTreeView) 930return WindowsTreeView.SelectItem (_hwnd, _hItem); 982if (!WindowsTreeView.SelectItem(_hwnd, _hItem)) 1011if (selectionRequired || WindowsTreeView.GetSelection(_hwnd) != IntPtr.Zero) 1018if (!WindowsTreeView.SelectItem(_hwnd, _hItem)) 1063System.Diagnostics.Debug.Assert (topLevelParent is WindowsTreeView, "Invalid Parent for a TreeView Item"); 1098WindowsTreeView.Expand (_hwnd, _hItem); 1123WindowsTreeView.Collapse (_hwnd, _hItem); 1156if (!WindowsTreeView.SetItemText(_hwnd, _hItem, val)) 1202WindowsTreeView.SetCheckState(_hwnd, _hItem, GetToggleState() != ToggleState.On); 1309if (!WindowsTreeView.IsItemExpanded (_hwnd, current._hItem)) 1321IntPtr hNext = WindowsTreeView.GetNextItem (_hwnd, ((TreeViewItem) child)._hItem); 1331IntPtr hPrev = WindowsTreeView.GetPreviousItem (_hwnd, ((TreeViewItem) child)._hItem); 1339IntPtr hChild = WindowsTreeView.GetFirstChild (_hwnd, _hItem); 1352IntPtr hChild = WindowsTreeView.GetFirstChild (_hwnd, _hItem); 1357for (IntPtr temp = WindowsTreeView.GetNextItem (_hwnd, hChild); temp != IntPtr.Zero; temp = WindowsTreeView.GetNextItem (_hwnd, hChild)) 1371bool expanded = WindowsTreeView.IsItemExpanded (_hwnd, _hItem); 1379bool hasChildren = WindowsTreeView.TreeViewItem_HasChildren (_hwnd, _hItem); 1387WindowsTreeView.CheckState state = WindowsTreeView.CheckState.NoCheckbox; 1402state = Misc.IsBitSet((int)stateMSAA, (int)AccessibleState.Checked) ? WindowsTreeView.CheckState.Checked : WindowsTreeView.CheckState.Unchecked; 1406if (state == WindowsTreeView.CheckState.NoCheckbox) 1408state = (WindowsTreeView.CheckState)WindowsTreeView.GetCheckState(_hwnd, _hItem); 1413case WindowsTreeView.CheckState.NoCheckbox : 1419case WindowsTreeView.CheckState.Checked : 1424case WindowsTreeView.CheckState.Unchecked : 1437WindowsTreeView.CheckState state = WindowsTreeView.CheckState.NoCheckbox; 1450state = Misc.IsBitSet((int)stateMSAA, (int)AccessibleState.Checked) ? WindowsTreeView.CheckState.Checked : WindowsTreeView.CheckState.Unchecked; 1453return state == WindowsTreeView.CheckState.Checked; 1459NativeMethods.Win32Rect rectItem = WindowsTreeView.GetItemRect(_hwnd, _hItem, true); 1485int selected = WindowsTreeView.GetItemState(_hwnd, _hItem, NativeMethods.TVIS_SELECTED); 1505isCheckbox = WindowsTreeView.CheckState.NoCheckbox != (WindowsTreeView.CheckState)WindowsTreeView.GetCheckState(_hwnd, _hItem); 1534return WindowsTreeView.GetItemText (_hwnd, _hItem); 1549if (WindowsTreeView.GetItem(_hwnd, _hItem, NativeMethods.TVIF_IMAGE | NativeMethods.TVIF_STATE, out treeItem))