3 instantiations of WindowsTreeView
UIAutomationClientsideProviders (3)
MS\Internal\AutomationProxies\WindowsTreeView.cs (3)
64
WindowsTreeView wtv = new
WindowsTreeView
(hwnd, null, 0);
79
WindowsTreeView wtv = new
WindowsTreeView
(hwnd, null, -1);
105
el = new
WindowsTreeView
(hwnd, null, -1);
46 references to WindowsTreeView
UIAutomationClientsideProviders (46)
MS\Internal\AutomationProxies\Main.cs (1)
77
new ClientSideProviderDescription(new ClientSideProviderFactoryCallback(MS.Internal.AutomationProxies.
WindowsTreeView
.Create), "SysTreeView32", null, ClientSideProviderMatchIndicator.AllowSubstringMatch),
MS\Internal\AutomationProxies\WindowsTreeView.cs (45)
64
WindowsTreeView
wtv = new WindowsTreeView(hwnd, null, 0);
79
WindowsTreeView
wtv = new WindowsTreeView (hwnd, null, -1);
642
if (text.Equals(
WindowsTreeView
.GetItemText(hwnd, item)))
851
return
WindowsTreeView
.GetItemRect(_hwnd, _hItem, true).ToRect(false);
900
if (parent is
WindowsTreeView
)
941
return
WindowsTreeView
.SelectItem (_hwnd, _hItem);
993
if (!
WindowsTreeView
.SelectItem(_hwnd, _hItem))
1022
if (selectionRequired ||
WindowsTreeView
.GetSelection(_hwnd) != IntPtr.Zero)
1029
if (!
WindowsTreeView
.SelectItem(_hwnd, _hItem))
1074
System.Diagnostics.Debug.Assert (topLevelParent is
WindowsTreeView
, "Invalid Parent for a TreeView Item");
1109
WindowsTreeView
.Expand (_hwnd, _hItem);
1134
WindowsTreeView
.Collapse (_hwnd, _hItem);
1167
if (!
WindowsTreeView
.SetItemText(_hwnd, _hItem, val))
1213
WindowsTreeView
.SetCheckState(_hwnd, _hItem, GetToggleState() != ToggleState.On);
1320
if (!
WindowsTreeView
.IsItemExpanded (_hwnd, current._hItem))
1332
IntPtr hNext =
WindowsTreeView
.GetNextItem (_hwnd, ((TreeViewItem) child)._hItem);
1342
IntPtr hPrev =
WindowsTreeView
.GetPreviousItem (_hwnd, ((TreeViewItem) child)._hItem);
1350
IntPtr hChild =
WindowsTreeView
.GetFirstChild (_hwnd, _hItem);
1363
IntPtr hChild =
WindowsTreeView
.GetFirstChild (_hwnd, _hItem);
1368
for (IntPtr temp =
WindowsTreeView
.GetNextItem (_hwnd, hChild); temp != IntPtr.Zero; temp =
WindowsTreeView
.GetNextItem (_hwnd, hChild))
1382
bool expanded =
WindowsTreeView
.IsItemExpanded (_hwnd, _hItem);
1390
bool hasChildren =
WindowsTreeView
.TreeViewItem_HasChildren (_hwnd, _hItem);
1398
WindowsTreeView
.CheckState state =
WindowsTreeView
.CheckState.NoCheckbox;
1413
state = Misc.IsBitSet((int)stateMSAA, (int)AccessibleState.Checked) ?
WindowsTreeView
.CheckState.Checked :
WindowsTreeView
.CheckState.Unchecked;
1417
if (state ==
WindowsTreeView
.CheckState.NoCheckbox)
1419
state = (
WindowsTreeView
.CheckState)
WindowsTreeView
.GetCheckState(_hwnd, _hItem);
1424
case
WindowsTreeView
.CheckState.NoCheckbox :
1430
case
WindowsTreeView
.CheckState.Checked :
1435
case
WindowsTreeView
.CheckState.Unchecked :
1448
WindowsTreeView
.CheckState state =
WindowsTreeView
.CheckState.NoCheckbox;
1461
state = Misc.IsBitSet((int)stateMSAA, (int)AccessibleState.Checked) ?
WindowsTreeView
.CheckState.Checked :
WindowsTreeView
.CheckState.Unchecked;
1464
return state ==
WindowsTreeView
.CheckState.Checked;
1470
NativeMethods.Win32Rect rectItem =
WindowsTreeView
.GetItemRect(_hwnd, _hItem, true);
1496
int selected =
WindowsTreeView
.GetItemState(_hwnd, _hItem, NativeMethods.TVIS_SELECTED);
1516
isCheckbox =
WindowsTreeView
.CheckState.NoCheckbox != (
WindowsTreeView
.CheckState)
WindowsTreeView
.GetCheckState(_hwnd, _hItem);
1545
return
WindowsTreeView
.GetItemText (_hwnd, _hItem);
1560
if (
WindowsTreeView
.GetItem(_hwnd, _hItem, NativeMethods.TVIF_IMAGE | NativeMethods.TVIF_STATE, out treeItem))