3 instantiations of WindowsTreeView
UIAutomationClientSideProviders (3)
MS\Internal\AutomationProxies\WindowsTreeView.cs (3)
52
WindowsTreeView wtv = new
WindowsTreeView
(hwnd, null, 0);
67
WindowsTreeView wtv = new
WindowsTreeView
(hwnd, null, -1);
93
el = new
WindowsTreeView
(hwnd, null, -1);
46 references to WindowsTreeView
UIAutomationClientSideProviders (46)
MS\Internal\AutomationProxies\Main.cs (1)
65
new ClientSideProviderDescription(new ClientSideProviderFactoryCallback(MS.Internal.AutomationProxies.
WindowsTreeView
.Create), "SysTreeView32", null, ClientSideProviderMatchIndicator.AllowSubstringMatch),
MS\Internal\AutomationProxies\WindowsTreeView.cs (45)
52
WindowsTreeView
wtv = new WindowsTreeView(hwnd, null, 0);
67
WindowsTreeView
wtv = new WindowsTreeView (hwnd, null, -1);
626
if (text.Equals(
WindowsTreeView
.GetItemText(hwnd, item)))
835
return
WindowsTreeView
.GetItemRect(_hwnd, _hItem, true).ToRect(false);
884
if (parent is
WindowsTreeView
)
925
return
WindowsTreeView
.SelectItem (_hwnd, _hItem);
977
if (!
WindowsTreeView
.SelectItem(_hwnd, _hItem))
1006
if (selectionRequired ||
WindowsTreeView
.GetSelection(_hwnd) != IntPtr.Zero)
1013
if (!
WindowsTreeView
.SelectItem(_hwnd, _hItem))
1058
System.Diagnostics.Debug.Assert (topLevelParent is
WindowsTreeView
, "Invalid Parent for a TreeView Item");
1093
WindowsTreeView
.Expand (_hwnd, _hItem);
1118
WindowsTreeView
.Collapse (_hwnd, _hItem);
1151
if (!
WindowsTreeView
.SetItemText(_hwnd, _hItem, val))
1197
WindowsTreeView
.SetCheckState(_hwnd, _hItem, GetToggleState() != ToggleState.On);
1304
if (!
WindowsTreeView
.IsItemExpanded (_hwnd, current._hItem))
1316
IntPtr hNext =
WindowsTreeView
.GetNextItem (_hwnd, ((TreeViewItem) child)._hItem);
1326
IntPtr hPrev =
WindowsTreeView
.GetPreviousItem (_hwnd, ((TreeViewItem) child)._hItem);
1334
IntPtr hChild =
WindowsTreeView
.GetFirstChild (_hwnd, _hItem);
1347
IntPtr hChild =
WindowsTreeView
.GetFirstChild (_hwnd, _hItem);
1352
for (IntPtr temp =
WindowsTreeView
.GetNextItem (_hwnd, hChild); temp != IntPtr.Zero; temp =
WindowsTreeView
.GetNextItem (_hwnd, hChild))
1366
bool expanded =
WindowsTreeView
.IsItemExpanded (_hwnd, _hItem);
1374
bool hasChildren =
WindowsTreeView
.TreeViewItem_HasChildren (_hwnd, _hItem);
1382
WindowsTreeView
.CheckState state =
WindowsTreeView
.CheckState.NoCheckbox;
1397
state = Misc.IsBitSet((int)stateMSAA, (int)AccessibleState.Checked) ?
WindowsTreeView
.CheckState.Checked :
WindowsTreeView
.CheckState.Unchecked;
1401
if (state ==
WindowsTreeView
.CheckState.NoCheckbox)
1403
state = (
WindowsTreeView
.CheckState)
WindowsTreeView
.GetCheckState(_hwnd, _hItem);
1408
case
WindowsTreeView
.CheckState.NoCheckbox :
1414
case
WindowsTreeView
.CheckState.Checked :
1419
case
WindowsTreeView
.CheckState.Unchecked :
1432
WindowsTreeView
.CheckState state =
WindowsTreeView
.CheckState.NoCheckbox;
1445
state = Misc.IsBitSet((int)stateMSAA, (int)AccessibleState.Checked) ?
WindowsTreeView
.CheckState.Checked :
WindowsTreeView
.CheckState.Unchecked;
1448
return state ==
WindowsTreeView
.CheckState.Checked;
1454
NativeMethods.Win32Rect rectItem =
WindowsTreeView
.GetItemRect(_hwnd, _hItem, true);
1480
int selected =
WindowsTreeView
.GetItemState(_hwnd, _hItem, NativeMethods.TVIS_SELECTED);
1500
isCheckbox =
WindowsTreeView
.CheckState.NoCheckbox != (
WindowsTreeView
.CheckState)
WindowsTreeView
.GetCheckState(_hwnd, _hItem);
1529
return
WindowsTreeView
.GetItemText (_hwnd, _hItem);
1544
if (
WindowsTreeView
.GetItem(_hwnd, _hItem, NativeMethods.TVIF_IMAGE | NativeMethods.TVIF_STATE, out treeItem))