1 instantiation of Accessible
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\Accessible.cs (1)
278return acc != null ? new Accessible(acc, idChild) : null;
116 references to Accessible
UIAutomationClientSideProviders (116)
MS\Internal\AutomationProxies\Accessible.cs (38)
154internal static Accessible CreateNativeFromEvent(IntPtr hwnd, int idObject, int idChild) 270internal static Accessible Wrap(IAccessible acc) 276internal static Accessible Wrap(IAccessible acc, int idChild) 299internal Accessible FirstChild 307internal Accessible LastChild 311return _idChild == NativeMethods.CHILD_SELF ? GetChildAt(_acc, null, Accessible.GetChildCount(_acc) - 1) : null; 315internal Accessible NextSibling(Accessible parent) 333Accessible rval = null; 334if (_accessibleChildrenIndex + 1 < Accessible.GetChildCount(parent._acc)) 342internal Accessible PreviousSibling(Accessible parent) 360Accessible rval = null; 369internal Accessible Parent 405internal int AccessibleChildrenIndex(Accessible parent) 432if (Accessible.HasState(state, AccessibleState.Invisible) && !Accessible.HasState(state, AccessibleState.Offscreen)) 549internal static Accessible GetFullAccessibleChildByIndex(Accessible accParent, int index) 552object[] accChildren = Accessible.GetAccessibleChildren(accParent.IAccessible, out childCount); 560return Accessible.Wrap(accChild); 564return Accessible.Wrap(accParent.IAccessible, idChild); 595internal Accessible [] GetSelection() 616Accessible [] children = null; 619children = new Accessible[1]; 624children = new Accessible[1]; 629children = new Accessible[objs.Length]; 640internal Accessible GetFocus() 726internal Accessible HitTest(int x, int y) 745Accessible rval; 828internal static bool Compare(Accessible acc1, Accessible acc2) 866internal static int AccessibleObjectFromWindow(IntPtr hwnd, int idObject, ref Accessible acc) 883acc = Accessible.Wrap(accObject); 948private static Accessible GetChildAt(IAccessible parent, object [] children, int index) 969Accessible nav = AccessibleFromObject(children[index], parent); 1061private static Accessible AccessibleFromObject(object o, IAccessible parent) 1420object[] rawChildren = Accessible.GetAccessibleChildren(accParent, out childCount);
MS\Internal\AutomationProxies\MSAANativeProvider.cs (20)
50protected MsaaNativeProvider(Accessible acc, IntPtr hwnd, MsaaNativeProvider parent, MsaaNativeProvider knownRoot, RootStatus isRoot) 76private static MsaaNativeProvider Wrap(Accessible acc, IntPtr hwnd, MsaaNativeProvider parent, MsaaNativeProvider knownRoot, RootStatus isRoot) 89Accessible scan = acc.Parent; 92if (Accessible.Compare(scan, parent._acc)) 108Accessible ancestor = (Accessible)actualParentChain[i]; 119internal MsaaNativeProvider Wrap(Accessible acc) 171Accessible acc = Accessible.CreateNativeFromEvent(hwnd, idObject, idChild); 250Accessible accFocused = _acc.GetFocus(); 571Accessible[] accessibles = _acc.GetSelection(); 734Accessible siblingAcc; 760Accessible siblingAcc; 783Accessible childAcc; 805Accessible childAcc; 1022private Accessible GetParent() 1033Accessible parentAccessible = _acc.Parent; 1108_isRoot = Accessible.Compare(_acc, KnownRoot._acc) || _acc.Role == AccessibleRole.Window ? RootStatus.Root : RootStatus.NotRoot; 1156Accessible childAcc = _acc.HitTest(x, y); 1316private Accessible _acc; // the IAccessible we are representing. use Accessible to access.
MS\Internal\AutomationProxies\ProxyHwnd.cs (2)
270Accessible acc = Accessible.Wrap(AccessibleObject);
MS\Internal\AutomationProxies\ProxySimple.cs (2)
637Accessible acc = null; 639_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)
1073object[] accChildren = Accessible.GetAccessibleChildren(this.AccessibleObject, out childrenReturned);
MS\Internal\AutomationProxies\WindowsListViewItem.cs (4)
174Accessible accItem = Accessible.Wrap(acc, _item + 1); 198Accessible 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)
526Accessible accThis = Accessible.Wrap(this.AccessibleObject); 529Accessible accWind = accThis.FirstChild;
MS\Internal\AutomationProxies\WindowsStatic.cs (2)
173Accessible acc = null; 174return 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; 393private Accessible _acc; // Accessible is used for WinForms controls. 421internal WindowsStatusBarPane (IntPtr hwnd, ProxyFragment parent, int item, Accessible acc) 565Accessible acc = null; 566if (Accessible.AccessibleObjectFromWindow(hwnd, NativeMethods.OBJID_CLIENT, ref acc) != NativeMethods.S_OK || acc == null) 576acc = Accessible.GetFullAccessibleChildByIndex(acc, item); 621private 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); 233Accessible acc = Accessible.CreateNativeFromEvent(_hwnd, NativeMethods.OBJID_CLIENT, NativeMethods.CHILD_SELF); 302Accessible 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)
817_nativeAcc = Accessible.CreateNativeFromEvent(_hwnd, NativeMethods.OBJID_CLIENT, childId); 1675private Accessible _nativeAcc;
MS\Internal\AutomationProxies\WindowsUpDown.cs (2)
304Accessible acc = null; 305int 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)