1 write to _hItem
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
726_hItem = hItem;
38 references to _hItem
UIAutomationClientSideProviders (38)
MS\Internal\AutomationProxies\WindowsTreeView.cs (38)
160IntPtr hNext = GetNextItem (_hwnd, ((TreeViewItem) child)._hItem); 187IntPtr hPrev = GetPreviousItem (_hwnd, ((TreeViewItem) child)._hItem); 750return IsItemExpanded (_hwnd, _hItem) ? NextSibling (child) : null; 759return IsItemExpanded (_hwnd, _hItem) ? PreviousSibling (child) : null; 766return IsItemExpanded (_hwnd, _hItem) ? FirstChild () : null; 773return IsItemExpanded (_hwnd, _hItem) ? LastChild () : null; 840return WindowsTreeView.GetItemRect(_hwnd, _hItem, true).ToRect(false); 849NativeMethods.Win32Rect itemRect = GetItemRect(_hwnd, _hItem, true); 930return WindowsTreeView.SelectItem (_hwnd, _hItem); 940if (Marshal.SizeOf(_hItem.GetType()) > sizeof(int)) 943int highPart = NativeMethods.Util.HIDWORD((long)_hItem); 944int lowPart = NativeMethods.Util.LODWORD((long)_hItem); 950return new int[3] { ProxySimple.Win32ProviderRuntimeIdBase, (int)_hwnd, (int)_hItem }; 982if (!WindowsTreeView.SelectItem(_hwnd, _hItem)) 1018if (!WindowsTreeView.SelectItem(_hwnd, _hItem)) 1098WindowsTreeView.Expand (_hwnd, _hItem); 1123WindowsTreeView.Collapse (_hwnd, _hItem); 1156if (!WindowsTreeView.SetItemText(_hwnd, _hItem, val)) 1202WindowsTreeView.SetCheckState(_hwnd, _hItem, GetToggleState() != ToggleState.On); 1233Misc.ProxySendMessage(_hwnd, NativeMethods.TVM_ENSUREVISIBLE, IntPtr.Zero, _hItem); 1286int selected = Misc.ProxySendMessageInt(_hwnd, NativeMethods.TVM_GETITEMSTATE, _hItem, new IntPtr(NativeMethods.TVIS_SELECTED)); 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); 1347if (!IsItemExpanded (_hwnd, _hItem)) 1352IntPtr hChild = WindowsTreeView.GetFirstChild (_hwnd, _hItem); 1371bool expanded = WindowsTreeView.IsItemExpanded (_hwnd, _hItem); 1379bool hasChildren = WindowsTreeView.TreeViewItem_HasChildren (_hwnd, _hItem); 1408state = (WindowsTreeView.CheckState)WindowsTreeView.GetCheckState(_hwnd, _hItem); 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)) 1638if (_hItem == IntPtr.Zero) 1641int childId = Misc.ProxySendMessageInt(_hwnd, TVM_MAPHTREEITEMTOACCID, _hItem, IntPtr.Zero); 1653return _hItem.ToInt32();