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); 627if (text.Equals(WindowsTreeView.GetItemText(hwnd, item))) 836return WindowsTreeView.GetItemRect(_hwnd, _hItem, true).ToRect(false); 885if (parent is WindowsTreeView) 926return WindowsTreeView.SelectItem (_hwnd, _hItem); 978if (!WindowsTreeView.SelectItem(_hwnd, _hItem)) 1007if (selectionRequired || WindowsTreeView.GetSelection(_hwnd) != IntPtr.Zero) 1014if (!WindowsTreeView.SelectItem(_hwnd, _hItem)) 1059System.Diagnostics.Debug.Assert (topLevelParent is WindowsTreeView, "Invalid Parent for a TreeView Item"); 1094WindowsTreeView.Expand (_hwnd, _hItem); 1119WindowsTreeView.Collapse (_hwnd, _hItem); 1152if (!WindowsTreeView.SetItemText(_hwnd, _hItem, val)) 1198WindowsTreeView.SetCheckState(_hwnd, _hItem, GetToggleState() != ToggleState.On); 1305if (!WindowsTreeView.IsItemExpanded (_hwnd, current._hItem)) 1317IntPtr hNext = WindowsTreeView.GetNextItem (_hwnd, ((TreeViewItem) child)._hItem); 1327IntPtr hPrev = WindowsTreeView.GetPreviousItem (_hwnd, ((TreeViewItem) child)._hItem); 1335IntPtr hChild = WindowsTreeView.GetFirstChild (_hwnd, _hItem); 1348IntPtr hChild = WindowsTreeView.GetFirstChild (_hwnd, _hItem); 1353for (IntPtr temp = WindowsTreeView.GetNextItem (_hwnd, hChild); temp != IntPtr.Zero; temp = WindowsTreeView.GetNextItem (_hwnd, hChild)) 1367bool expanded = WindowsTreeView.IsItemExpanded (_hwnd, _hItem); 1375bool hasChildren = WindowsTreeView.TreeViewItem_HasChildren (_hwnd, _hItem); 1383WindowsTreeView.CheckState state = WindowsTreeView.CheckState.NoCheckbox; 1398state = Misc.IsBitSet((int)stateMSAA, (int)AccessibleState.Checked) ? WindowsTreeView.CheckState.Checked : WindowsTreeView.CheckState.Unchecked; 1402if (state == WindowsTreeView.CheckState.NoCheckbox) 1404state = (WindowsTreeView.CheckState)WindowsTreeView.GetCheckState(_hwnd, _hItem); 1409case WindowsTreeView.CheckState.NoCheckbox : 1415case WindowsTreeView.CheckState.Checked : 1420case WindowsTreeView.CheckState.Unchecked : 1433WindowsTreeView.CheckState state = WindowsTreeView.CheckState.NoCheckbox; 1446state = Misc.IsBitSet((int)stateMSAA, (int)AccessibleState.Checked) ? WindowsTreeView.CheckState.Checked : WindowsTreeView.CheckState.Unchecked; 1449return state == WindowsTreeView.CheckState.Checked; 1455NativeMethods.Win32Rect rectItem = WindowsTreeView.GetItemRect(_hwnd, _hItem, true); 1481int selected = WindowsTreeView.GetItemState(_hwnd, _hItem, NativeMethods.TVIS_SELECTED); 1501isCheckbox = WindowsTreeView.CheckState.NoCheckbox != (WindowsTreeView.CheckState)WindowsTreeView.GetCheckState(_hwnd, _hItem); 1530return WindowsTreeView.GetItemText (_hwnd, _hItem); 1545if (WindowsTreeView.GetItem(_hwnd, _hItem, NativeMethods.TVIF_IMAGE | NativeMethods.TVIF_STATE, out treeItem))