3 instantiations of WindowsTreeView
UIAutomationClientSideProviders (3)
MS\Internal\AutomationProxies\WindowsTreeView.cs (3)
53
WindowsTreeView wtv = new
WindowsTreeView
(hwnd, null, 0);
68
WindowsTreeView wtv = new
WindowsTreeView
(hwnd, null, -1);
94
el = new
WindowsTreeView
(hwnd, null, -1);
46 references to WindowsTreeView
UIAutomationClientSideProviders (46)
MS\Internal\AutomationProxies\Main.cs (1)
66
new ClientSideProviderDescription(new ClientSideProviderFactoryCallback(MS.Internal.AutomationProxies.
WindowsTreeView
.Create), "SysTreeView32", null, ClientSideProviderMatchIndicator.AllowSubstringMatch),
MS\Internal\AutomationProxies\WindowsTreeView.cs (45)
53
WindowsTreeView
wtv = new WindowsTreeView(hwnd, null, 0);
68
WindowsTreeView
wtv = new WindowsTreeView (hwnd, null, -1);
631
if (text.Equals(
WindowsTreeView
.GetItemText(hwnd, item)))
840
return
WindowsTreeView
.GetItemRect(_hwnd, _hItem, true).ToRect(false);
889
if (parent is
WindowsTreeView
)
930
return
WindowsTreeView
.SelectItem (_hwnd, _hItem);
982
if (!
WindowsTreeView
.SelectItem(_hwnd, _hItem))
1011
if (selectionRequired ||
WindowsTreeView
.GetSelection(_hwnd) != IntPtr.Zero)
1018
if (!
WindowsTreeView
.SelectItem(_hwnd, _hItem))
1063
System.Diagnostics.Debug.Assert (topLevelParent is
WindowsTreeView
, "Invalid Parent for a TreeView Item");
1098
WindowsTreeView
.Expand (_hwnd, _hItem);
1123
WindowsTreeView
.Collapse (_hwnd, _hItem);
1156
if (!
WindowsTreeView
.SetItemText(_hwnd, _hItem, val))
1202
WindowsTreeView
.SetCheckState(_hwnd, _hItem, GetToggleState() != ToggleState.On);
1309
if (!
WindowsTreeView
.IsItemExpanded (_hwnd, current._hItem))
1321
IntPtr hNext =
WindowsTreeView
.GetNextItem (_hwnd, ((TreeViewItem) child)._hItem);
1331
IntPtr hPrev =
WindowsTreeView
.GetPreviousItem (_hwnd, ((TreeViewItem) child)._hItem);
1339
IntPtr hChild =
WindowsTreeView
.GetFirstChild (_hwnd, _hItem);
1352
IntPtr hChild =
WindowsTreeView
.GetFirstChild (_hwnd, _hItem);
1357
for (IntPtr temp =
WindowsTreeView
.GetNextItem (_hwnd, hChild); temp != IntPtr.Zero; temp =
WindowsTreeView
.GetNextItem (_hwnd, hChild))
1371
bool expanded =
WindowsTreeView
.IsItemExpanded (_hwnd, _hItem);
1379
bool hasChildren =
WindowsTreeView
.TreeViewItem_HasChildren (_hwnd, _hItem);
1387
WindowsTreeView
.CheckState state =
WindowsTreeView
.CheckState.NoCheckbox;
1402
state = Misc.IsBitSet((int)stateMSAA, (int)AccessibleState.Checked) ?
WindowsTreeView
.CheckState.Checked :
WindowsTreeView
.CheckState.Unchecked;
1406
if (state ==
WindowsTreeView
.CheckState.NoCheckbox)
1408
state = (
WindowsTreeView
.CheckState)
WindowsTreeView
.GetCheckState(_hwnd, _hItem);
1413
case
WindowsTreeView
.CheckState.NoCheckbox :
1419
case
WindowsTreeView
.CheckState.Checked :
1424
case
WindowsTreeView
.CheckState.Unchecked :
1437
WindowsTreeView
.CheckState state =
WindowsTreeView
.CheckState.NoCheckbox;
1450
state = Misc.IsBitSet((int)stateMSAA, (int)AccessibleState.Checked) ?
WindowsTreeView
.CheckState.Checked :
WindowsTreeView
.CheckState.Unchecked;
1453
return state ==
WindowsTreeView
.CheckState.Checked;
1459
NativeMethods.Win32Rect rectItem =
WindowsTreeView
.GetItemRect(_hwnd, _hItem, true);
1485
int selected =
WindowsTreeView
.GetItemState(_hwnd, _hItem, NativeMethods.TVIS_SELECTED);
1505
isCheckbox =
WindowsTreeView
.CheckState.NoCheckbox != (
WindowsTreeView
.CheckState)
WindowsTreeView
.GetCheckState(_hwnd, _hItem);
1534
return
WindowsTreeView
.GetItemText (_hwnd, _hItem);
1549
if (
WindowsTreeView
.GetItem(_hwnd, _hItem, NativeMethods.TVIF_IMAGE | NativeMethods.TVIF_STATE, out treeItem))