3 instantiations of WindowsTreeView
UIAutomationClientSideProviders (3)
MS\Internal\AutomationProxies\WindowsTreeView.cs (3)
55
WindowsTreeView wtv = new
WindowsTreeView
(hwnd, null, 0);
70
WindowsTreeView wtv = new
WindowsTreeView
(hwnd, null, -1);
96
el = new
WindowsTreeView
(hwnd, null, -1);
46 references to WindowsTreeView
UIAutomationClientSideProviders (46)
MS\Internal\AutomationProxies\Main.cs (1)
69
new ClientSideProviderDescription(new ClientSideProviderFactoryCallback(MS.Internal.AutomationProxies.
WindowsTreeView
.Create), "SysTreeView32", null, ClientSideProviderMatchIndicator.AllowSubstringMatch),
MS\Internal\AutomationProxies\WindowsTreeView.cs (45)
55
WindowsTreeView
wtv = new WindowsTreeView(hwnd, null, 0);
70
WindowsTreeView
wtv = new WindowsTreeView (hwnd, null, -1);
633
if (text.Equals(
WindowsTreeView
.GetItemText(hwnd, item)))
842
return
WindowsTreeView
.GetItemRect(_hwnd, _hItem, true).ToRect(false);
891
if (parent is
WindowsTreeView
)
932
return
WindowsTreeView
.SelectItem (_hwnd, _hItem);
984
if (!
WindowsTreeView
.SelectItem(_hwnd, _hItem))
1013
if (selectionRequired ||
WindowsTreeView
.GetSelection(_hwnd) != IntPtr.Zero)
1020
if (!
WindowsTreeView
.SelectItem(_hwnd, _hItem))
1065
System.Diagnostics.Debug.Assert (topLevelParent is
WindowsTreeView
, "Invalid Parent for a TreeView Item");
1100
WindowsTreeView
.Expand (_hwnd, _hItem);
1125
WindowsTreeView
.Collapse (_hwnd, _hItem);
1158
if (!
WindowsTreeView
.SetItemText(_hwnd, _hItem, val))
1204
WindowsTreeView
.SetCheckState(_hwnd, _hItem, GetToggleState() != ToggleState.On);
1311
if (!
WindowsTreeView
.IsItemExpanded (_hwnd, current._hItem))
1323
IntPtr hNext =
WindowsTreeView
.GetNextItem (_hwnd, ((TreeViewItem) child)._hItem);
1333
IntPtr hPrev =
WindowsTreeView
.GetPreviousItem (_hwnd, ((TreeViewItem) child)._hItem);
1341
IntPtr hChild =
WindowsTreeView
.GetFirstChild (_hwnd, _hItem);
1354
IntPtr hChild =
WindowsTreeView
.GetFirstChild (_hwnd, _hItem);
1359
for (IntPtr temp =
WindowsTreeView
.GetNextItem (_hwnd, hChild); temp != IntPtr.Zero; temp =
WindowsTreeView
.GetNextItem (_hwnd, hChild))
1373
bool expanded =
WindowsTreeView
.IsItemExpanded (_hwnd, _hItem);
1381
bool hasChildren =
WindowsTreeView
.TreeViewItem_HasChildren (_hwnd, _hItem);
1389
WindowsTreeView
.CheckState state =
WindowsTreeView
.CheckState.NoCheckbox;
1404
state = Misc.IsBitSet((int)stateMSAA, (int)AccessibleState.Checked) ?
WindowsTreeView
.CheckState.Checked :
WindowsTreeView
.CheckState.Unchecked;
1408
if (state ==
WindowsTreeView
.CheckState.NoCheckbox)
1410
state = (
WindowsTreeView
.CheckState)
WindowsTreeView
.GetCheckState(_hwnd, _hItem);
1415
case
WindowsTreeView
.CheckState.NoCheckbox :
1421
case
WindowsTreeView
.CheckState.Checked :
1426
case
WindowsTreeView
.CheckState.Unchecked :
1439
WindowsTreeView
.CheckState state =
WindowsTreeView
.CheckState.NoCheckbox;
1452
state = Misc.IsBitSet((int)stateMSAA, (int)AccessibleState.Checked) ?
WindowsTreeView
.CheckState.Checked :
WindowsTreeView
.CheckState.Unchecked;
1455
return state ==
WindowsTreeView
.CheckState.Checked;
1461
NativeMethods.Win32Rect rectItem =
WindowsTreeView
.GetItemRect(_hwnd, _hItem, true);
1487
int selected =
WindowsTreeView
.GetItemState(_hwnd, _hItem, NativeMethods.TVIS_SELECTED);
1507
isCheckbox =
WindowsTreeView
.CheckState.NoCheckbox != (
WindowsTreeView
.CheckState)
WindowsTreeView
.GetCheckState(_hwnd, _hItem);
1536
return
WindowsTreeView
.GetItemText (_hwnd, _hItem);
1551
if (
WindowsTreeView
.GetItem(_hwnd, _hItem, NativeMethods.TVIF_IMAGE | NativeMethods.TVIF_STATE, out treeItem))