7 types derived from ToolStripItemAccessibleObject
System.Windows.Forms (7)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObjectWrapperForItemsOnOverflow.cs (1)
8private class ToolStripAccessibleObjectWrapperForItemsOnOverflow : ToolStripItem.ToolStripItemAccessibleObject
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.ToolStripButtonAccessibleObject.cs (1)
14internal class ToolStripButtonAccessibleObject : ToolStripItemAccessibleObject
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.ToolStripControlHostAccessibleObject.cs (1)
13internal sealed class ToolStripControlHostAccessibleObject : ToolStripItemAccessibleObject
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItemAccessibleObject.cs (1)
10public class ToolStripDropDownItemAccessibleObject : ToolStripItem.ToolStripItemAccessibleObject
System\Windows\Forms\Controls\ToolStrips\ToolStripLabel.ToolStripLabelAccessibleObject.cs (1)
8internal class ToolStripLabelAccessibleObject : ToolStripItemAccessibleObject
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.ToolStripSeparatorAccessibleObject.cs (1)
11internal class ToolStripSeparatorAccessibleObject : ToolStripItemAccessibleObject
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.ToolStripSplitButtonAccessibleObject.cs (1)
8public class ToolStripSplitButtonAccessibleObject : ToolStripItemAccessibleObject
4 instantiations of ToolStripItemAccessibleObject
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
2074protected virtual AccessibleObject CreateAccessibilityInstance() => new ToolStripItemAccessibleObject(this);
System.Windows.Forms.Tests (3)
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (2)
23var accessibleObject = new ToolStripItem.ToolStripItemAccessibleObject(item); 39Assert.Throws<ArgumentNullException>("ownerItem", () => new ToolStripItem.ToolStripItemAccessibleObject(null));
System\Windows\Forms\ToolStripItemTests.cs (1)
286yield return new object[] { new SubToolStripItem.ToolStripItemAccessibleObject(new SubToolStripItem()) };
63 references to ToolStripItemAccessibleObject
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (2)
278internal int GetChildFragmentIndex(ToolStripItem.ToolStripItemAccessibleObject child) 323internal int GetChildIndex(ToolStripItem.ToolStripItemAccessibleObject child)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (2)
503if (accessibilityIsOn && AccessibilityObject is ToolStripItemAccessibleObject accessibleObject) 532if (IsAccessibilityObjectCreated && AccessibilityObject is ToolStripItemAccessibleObject accessibleObject)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItemAccessibleObject.cs (1)
123internal int GetChildFragmentIndex(ToolStripItem.ToolStripItemAccessibleObject child)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
3171if (accessibilityIsOn && AccessibilityObject is ToolStripItemAccessibleObject accessibleObject)
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
945if (ToolStripItem.AccessibilityObject is ToolStripItem.ToolStripItemAccessibleObject acc)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (1)
173if (curDesignerNode.AccessibilityObject is ToolStripItem.ToolStripItemAccessibleObject acc)
System.Windows.Forms.Tests (55)
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (1)
23var accessibleObject = new ToolStripItem.ToolStripItemAccessibleObject(item);
System\Windows\Forms\MdiControlStripTests.cs (28)
218ToolStripItem.ToolStripItemAccessibleObject systemItem = (ToolStripItem.ToolStripItemAccessibleObject)accessibleObject.TestAccessor().Dynamic.FragmentNavigate(NavigateDirection.NavigateDirection_FirstChild); 219ToolStripItem.ToolStripItemAccessibleObject test1Item = (ToolStripItem.ToolStripItemAccessibleObject)systemItem.FragmentNavigate(NavigateDirection.NavigateDirection_NextSibling); 220ToolStripItem.ToolStripItemAccessibleObject test2Item = (ToolStripItem.ToolStripItemAccessibleObject)test1Item.FragmentNavigate(NavigateDirection.NavigateDirection_NextSibling); 221ToolStripItem.ToolStripItemAccessibleObject minimizeItem = (ToolStripItem.ToolStripItemAccessibleObject)test2Item.FragmentNavigate(NavigateDirection.NavigateDirection_NextSibling); 222ToolStripItem.ToolStripItemAccessibleObject restoreItem = (ToolStripItem.ToolStripItemAccessibleObject)minimizeItem.FragmentNavigate(NavigateDirection.NavigateDirection_NextSibling); 223ToolStripItem.ToolStripItemAccessibleObject closeItem = (ToolStripItem.ToolStripItemAccessibleObject)restoreItem.FragmentNavigate(NavigateDirection.NavigateDirection_NextSibling); 224ToolStripItem.ToolStripItemAccessibleObject nullItem = (ToolStripItem.ToolStripItemAccessibleObject)closeItem.FragmentNavigate(NavigateDirection.NavigateDirection_NextSibling); 264ToolStripItem.ToolStripItemAccessibleObject closeItem = (ToolStripItem.ToolStripItemAccessibleObject)accessibleObject.TestAccessor().Dynamic.FragmentNavigate(NavigateDirection.NavigateDirection_LastChild); 265ToolStripItem.ToolStripItemAccessibleObject restoreItem = (ToolStripItem.ToolStripItemAccessibleObject)closeItem.FragmentNavigate(NavigateDirection.NavigateDirection_PreviousSibling); 266ToolStripItem.ToolStripItemAccessibleObject minimizeItem = (ToolStripItem.ToolStripItemAccessibleObject)restoreItem.FragmentNavigate(NavigateDirection.NavigateDirection_PreviousSibling); 267ToolStripItem.ToolStripItemAccessibleObject test2Item = (ToolStripItem.ToolStripItemAccessibleObject)minimizeItem.FragmentNavigate(NavigateDirection.NavigateDirection_PreviousSibling); 268ToolStripItem.ToolStripItemAccessibleObject test1Item = (ToolStripItem.ToolStripItemAccessibleObject)test2Item.FragmentNavigate(NavigateDirection.NavigateDirection_PreviousSibling); 269ToolStripItem.ToolStripItemAccessibleObject systemItem = (ToolStripItem.ToolStripItemAccessibleObject)test1Item.FragmentNavigate(NavigateDirection.NavigateDirection_PreviousSibling); 270ToolStripItem.ToolStripItemAccessibleObject nullItem = (ToolStripItem.ToolStripItemAccessibleObject)systemItem.FragmentNavigate(NavigateDirection.NavigateDirection_PreviousSibling);
System\Windows\Forms\ToolStrip.ToolStripAccessibleObjectWrapperForItemsOnOverflowTests.cs (2)
19ToolStripItemAccessibleObject accessibleObject = (ToolStripItemAccessibleObject)Activator.CreateInstance(type, toolStripItem);
System\Windows\Forms\ToolStripButtonTests.cs (10)
1003ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance()); 1017ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance()); 1031ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance()); 1050ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance()); 1069ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance());
System\Windows\Forms\ToolStripControlHostTests.cs (8)
2518ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance()); 2537ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance()); 2552ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance()); 2565ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance());
System\Windows\Forms\ToolStripItemTests.cs (2)
9837ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance());
System\Windows\Forms\ToolStripSeparatorTests.cs (4)
724ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance()); 737ToolStripItem.ToolStripItemAccessibleObject accessibleObject = Assert.IsAssignableFrom<ToolStripItem.ToolStripItemAccessibleObject>(item.CreateAccessibilityInstance());