10 instantiations of TreeViewItem
UIAutomationClientSideProviders (10)
MS\Internal\AutomationProxies\WindowsTreeView.cs (10)
163return new TreeViewItem (_hwnd, this, hNext, (int) TVItem.TopLevel); 189return hPrev != IntPtr.Zero ? new TreeViewItem (_hwnd, this, hPrev, (int) TVItem.TopLevel) : null; 205return new TreeViewItem (_hwnd, this, hChild, (int) TVItem.TopLevel); 380return new TreeViewItem (_hwnd, this, hItem, depth); 394return new TreeViewItem (hwnd, this, hItem, 0); 400return new TreeViewItem(hwnd, elParent, hItem, elParent._item + 1); 1323return hNext != IntPtr.Zero ? new TreeViewItem(_hwnd, this, hNext, _item + 1) : null; 1333return hPrev != IntPtr.Zero ? new TreeViewItem(_hwnd, this, hPrev, _item + 1) : null; 1341return hChild != IntPtr.Zero ? new TreeViewItem(_hwnd, this, hChild, _item + 1) : null; 1362return new TreeViewItem(_hwnd, this, hChild, _item + 1);
10 references to TreeViewItem
UIAutomationClientSideProviders (10)
MS\Internal\AutomationProxies\WindowsTreeView.cs (10)
99if (idProp == ExpandCollapsePattern.ExpandCollapseStateProperty && el is TreeViewItem && eventId == NativeMethods.EventObjectStateChange) 101((TreeViewItem) el).RaiseExpandCollapsedStateChangedEvent (); 106if (((idProp as AutomationEvent) == AutomationElement.StructureChangedEvent && el is TreeViewItem) && !(eventId == NativeMethods.EventObjectDestroy || eventId == NativeMethods.EventObjectCreate)) 108((TreeViewItem) el).RaiseStructureChangedEvent (); 160IntPtr hNext = GetNextItem (_hwnd, ((TreeViewItem) child)._hItem); 187IntPtr hPrev = GetPreviousItem (_hwnd, ((TreeViewItem) child)._hItem); 1306TreeViewItem current = this; 1307while ((current = current.GetParent() as TreeViewItem) != null) 1321IntPtr hNext = WindowsTreeView.GetNextItem (_hwnd, ((TreeViewItem) child)._hItem); 1331IntPtr hPrev = WindowsTreeView.GetPreviousItem (_hwnd, ((TreeViewItem) child)._hItem);