1 instantiation of Accessible
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\Accessible.cs (1)
282return acc != null ? new Accessible(acc, idChild) : null;
116 references to Accessible
UIAutomationClientSideProviders (116)
MS\Internal\AutomationProxies\Accessible.cs (38)
158internal static Accessible CreateNativeFromEvent(IntPtr hwnd, int idObject, int idChild) 274internal static Accessible Wrap(IAccessible acc) 280internal static Accessible Wrap(IAccessible acc, int idChild) 303internal Accessible FirstChild 311internal Accessible LastChild 315return _idChild == NativeMethods.CHILD_SELF ? GetChildAt(_acc, null, Accessible.GetChildCount(_acc) - 1) : null; 319internal Accessible NextSibling(Accessible parent) 337Accessible rval = null; 338if (_accessibleChildrenIndex + 1 < Accessible.GetChildCount(parent._acc)) 346internal Accessible PreviousSibling(Accessible parent) 364Accessible rval = null; 373internal Accessible Parent 412internal int AccessibleChildrenIndex(Accessible parent) 439if (Accessible.HasState(state, AccessibleState.Invisible) && !Accessible.HasState(state, AccessibleState.Offscreen)) 564internal static Accessible GetFullAccessibleChildByIndex(Accessible accParent, int index) 567object[] accChildren = Accessible.GetAccessibleChildren(accParent.IAccessible, out childCount); 575return Accessible.Wrap(accChild); 580return Accessible.Wrap(accParent.IAccessible, idChild); 611internal Accessible [] GetSelection() 632Accessible [] children = null; 635children = new Accessible[1]; 640children = new Accessible[1]; 646children = new Accessible[objs.Length]; 657internal Accessible GetFocus() 746internal Accessible HitTest(int x, int y) 765Accessible rval; 850internal static bool Compare(Accessible acc1, Accessible acc2) 891internal static int AccessibleObjectFromWindow(IntPtr hwnd, int idObject, ref Accessible acc) 908acc = Accessible.Wrap(accObject); 973private static Accessible GetChildAt(IAccessible parent, object [] children, int index) 994Accessible nav = AccessibleFromObject(children[index], parent); 1086private static Accessible AccessibleFromObject(object o, IAccessible parent) 1445object[] rawChildren = Accessible.GetAccessibleChildren(accParent, out childCount);
MS\Internal\AutomationProxies\MSAANativeProvider.cs (20)
53protected MsaaNativeProvider(Accessible acc, IntPtr hwnd, MsaaNativeProvider parent, MsaaNativeProvider knownRoot, RootStatus isRoot) 79private static MsaaNativeProvider Wrap(Accessible acc, IntPtr hwnd, MsaaNativeProvider parent, MsaaNativeProvider knownRoot, RootStatus isRoot) 92Accessible scan = acc.Parent; 95if (Accessible.Compare(scan, parent._acc)) 111Accessible ancestor = (Accessible)actualParentChain[i]; 122internal MsaaNativeProvider Wrap(Accessible acc) 174Accessible acc = Accessible.CreateNativeFromEvent(hwnd, idObject, idChild); 253Accessible accFocused = _acc.GetFocus(); 574Accessible[] accessibles = _acc.GetSelection(); 737Accessible siblingAcc; 763Accessible siblingAcc; 786Accessible childAcc; 808Accessible childAcc; 1025private Accessible GetParent() 1036Accessible parentAccessible = _acc.Parent; 1113_isRoot = Accessible.Compare(_acc, KnownRoot._acc) || _acc.Role == AccessibleRole.Window ? RootStatus.Root : RootStatus.NotRoot; 1161Accessible childAcc = _acc.HitTest(x, y); 1321private Accessible _acc; // the IAccessible we are representing. use Accessible to access.
MS\Internal\AutomationProxies\ProxyHwnd.cs (2)
275Accessible acc = Accessible.Wrap(AccessibleObject);
MS\Internal\AutomationProxies\ProxySimple.cs (2)
643Accessible acc = null; 645_IAccessible = Accessible.AccessibleObjectFromWindow(_hwnd, NativeMethods.OBJID_CLIENT, ref acc) == NativeMethods.S_OK ? acc.IAccessible : null;
MS\Internal\AutomationProxies\WindowsButton.cs (12)
31internal WindowsButton (IntPtr hwnd, ProxyFragment parent, ButtonType type, int style, Accessible acc) 318Accessible accRadioButton = null; 322Accessible.AccessibleObjectFromWindow(hwndRadioButton, NativeMethods.OBJID_CLIENT, ref accRadioButton) != NativeMethods.S_OK || 396Accessible accParent = null; 397if (Accessible.AccessibleObjectFromWindow(hwndParent, NativeMethods.OBJID_CLIENT, ref accParent) != NativeMethods.S_OK || accParent == null) 629if (Accessible.HasState(state, AccessibleState.Checked)) 633else if (Accessible.HasState(state, AccessibleState.Mixed)) 682Accessible acc = null; 683if (Accessible.AccessibleObjectFromWindow(hwnd, NativeMethods.OBJID_CLIENT, ref acc) == NativeMethods.S_OK && 722Accessible acc = null; 723if (Accessible.AccessibleObjectFromWindow(hwnd, NativeMethods.OBJID_CLIENT, ref acc) == NativeMethods.S_OK && 747private Accessible _acc; // Accessible is used for WinForms Buttons.
MS\Internal\AutomationProxies\WindowsFormsHelpers.cs (4)
30Accessible acc = null; 31if (Accessible.AccessibleObjectFromWindow(hwnd, idObject, ref acc) != NativeMethods.S_OK || acc == null) 76Accessible acc = null; 77if (Accessible.AccessibleObjectFromWindow(hwnd, NativeMethods.OBJID_CLIENT, ref acc) != NativeMethods.S_OK || acc == null)
MS\Internal\AutomationProxies\WindowsListBox.cs (1)
1082object[] accChildren = Accessible.GetAccessibleChildren(this.AccessibleObject, out childrenReturned);
MS\Internal\AutomationProxies\WindowsListViewItem.cs (4)
176Accessible accItem = Accessible.Wrap(acc, _item + 1); 200Accessible accItem = Accessible.Wrap(acc, _item + 1);
MS\Internal\AutomationProxies\WindowsListViewItemStartMenu.cs (1)
36AccessibleRole role = Accessible.GetRole(acc, item + 1);
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (1)
154AccessibleRole role = Accessible.GetRole(acc, _itemParent + 1);
MS\Internal\AutomationProxies\WindowsRebar.cs (3)
522Accessible accThis = Accessible.Wrap(this.AccessibleObject); 525Accessible accWind = accThis.FirstChild;
MS\Internal\AutomationProxies\WindowsStatic.cs (2)
174Accessible acc = null; 175return Accessible.AccessibleObjectFromWindow(hwnd, NativeMethods.OBJID_CLIENT, ref acc) == NativeMethods.S_OK && acc != null && acc.ChildCount > 0;
MS\Internal\AutomationProxies\WindowsStatusBar.cs (10)
26internal WindowsStatusBar(IntPtr hwnd, ProxyFragment parent, int item, Accessible acc) 92Accessible accChild = null; 99accChild = Accessible.GetFullAccessibleChildByIndex(_acc, index); 300Accessible accChild = _acc.FirstChild; 392private Accessible _acc; // Accessible is used for WinForms controls. 420internal WindowsStatusBarPane (IntPtr hwnd, ProxyFragment parent, int item, Accessible acc) 564Accessible acc = null; 565if (Accessible.AccessibleObjectFromWindow(hwnd, NativeMethods.OBJID_CLIENT, ref acc) != NativeMethods.S_OK || acc == null) 575acc = Accessible.GetFullAccessibleChildByIndex(acc, item); 620private Accessible _acc; // Accessible is used for WinForms controls.
MS\Internal\AutomationProxies\WindowsToolbar.cs (6)
58Accessible acc = Accessible.CreateNativeFromEvent(hwnd, NativeMethods.OBJID_CLIENT, NativeMethods.CHILD_SELF); 236Accessible acc = Accessible.CreateNativeFromEvent(_hwnd, NativeMethods.OBJID_CLIENT, NativeMethods.CHILD_SELF); 305Accessible acc = Accessible.CreateNativeFromEvent(_hwnd, NativeMethods.OBJID_CLIENT, item + 1);
MS\Internal\AutomationProxies\WindowsToolbarAsMenu.cs (2)
28internal WindowsToolbarAsMenu(IntPtr hwnd, ProxyFragment parent, int item, Accessible acc) 62Accessible _acc;
MS\Internal\AutomationProxies\WindowsToolbarItemAsMenuItem.cs (2)
29internal ToolbarItemAsMenuItem(IntPtr hwnd, ProxyFragment parent, int item, int idCommand, Accessible acc) 118Accessible _acc;
MS\Internal\AutomationProxies\WindowsTreeView.cs (2)
820_nativeAcc = Accessible.CreateNativeFromEvent(_hwnd, NativeMethods.OBJID_CLIENT, childId); 1678private Accessible _nativeAcc;
MS\Internal\AutomationProxies\WindowsUpDown.cs (2)
307Accessible acc = null; 308int hr = Accessible.AccessibleObjectFromWindow(hwnd, NativeMethods.OBJID_CLIENT, ref acc);
MS\Internal\AutomationProxies\WinFormsSpinner.cs (2)
180Accessible acc = null; 181if (Accessible.AccessibleObjectFromWindow(hwndSpin, NativeMethods.OBJID_CLIENT, ref acc) != NativeMethods.S_OK || acc == null)