76 references to None
System.Windows.Forms (5)
System\Windows\Forms\Accessibility\AccessibleObject.cs (1)
671or AccessibleRole.None
System\Windows\Forms\Accessibility\AccessibleObjectExtensions.cs (2)
189return AccessibleRole.None; 197return role.vt is VARENUM.VT_I4 or VARENUM.VT_INT ? (AccessibleRole)(int)role : AccessibleRole.None;
System\Windows\Forms\Accessibility\AccessibleRoleControlTypeMap.cs (1)
53{ AccessibleRole.None, UIA_CONTROLTYPE_ID.UIA_PaneControlTypeId },
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarChildAccessibleObject.cs (1)
43=> ParentInternal?.SystemIAccessible.TryGetRole(GetChildId()) ?? AccessibleRole.None;
System.Windows.Forms.Tests (71)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (11)
28Assert.Equal(AccessibleRole.None, accessibleObject.Role); 623Assert.Equal(AccessibleRole.None, accessibleObject.Role); 689Assert.Equal(AccessibleRole.None, accessibleObject.Role); 708Assert.Equal(AccessibleRole.None, accessibleObject.Role); 767Assert.Equal(AccessibleRole.None, accessibleObject.Role); 2134[InlineData(AccessibleRole.None, 0)] 2135[InlineData(AccessibleRole.None, unchecked((int)0x80020004))] 2136[InlineData(AccessibleRole.None, "abc")] 2137[InlineData(AccessibleRole.None, null)] 2172[InlineData(AccessibleRole.None, 2, 1, 0)] 2175[InlineData(AccessibleRole.None, 3, 0, 1)]
System\Windows\Forms\AccessibleObjects\Button.ButtonAccessibleObjectTests.cs (1)
31[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\ButtonBase.ButtonBaseAccessibleObjectTests.cs (3)
69[InlineData(false, true, AccessibleRole.None)] 123Assert.Equal(AccessibleRole.None, instance.Role); 188[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\CheckedListBoxAccessibleObjectTests.cs (1)
89[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxAccessibleObjectTests.cs (1)
13[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (2)
66Assert.Equal(AccessibleRole.None, accessibleObject.Role); 752yield return new object[] { AccessibleRole.None };
System\Windows\Forms\AccessibleObjects\DataGridView.DataGridViewEditingPanelAccessibleObjectTests.cs (1)
61[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\DataGridViewComboBoxEditingControlAccessibleObjectTests.cs (1)
25[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\DataGridViewTextBoxEditingControl.DataGridViewTextBoxEditingControlAccessibleObjectTests.cs (1)
73[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\HScrollBar.HScrollBarAccessibleObjectTests.cs (1)
22[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
120AccessibleRole expectedRole = createControl ? AccessibleRole.PushButton : AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
131AccessibleRole expectedRole = createControl ? AccessibleRole.PushButton : AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
132Assert.Equal(AccessibleRole.None, accessibleObject.Role);
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
120AccessibleRole expectedRole = createControl ? AccessibleRole.PushButton : AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
110Assert.Equal(AccessibleRole.None, accessibleObject.Role);
System\Windows\Forms\AccessibleObjects\ListBoxAccessibleObjectTests.cs (1)
41[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (1)
34[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\MonthCalendar.MonthCalendarChildAccessibleObjectTests.cs (1)
35[InlineData((int)UIA_PROPERTY_ID.UIA_LegacyIAccessibleRolePropertyId, (int)AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\PictureBox.PictureBoxAccessibleObjectTests.cs (1)
75[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\ProgressBarAccessibleObjectTests.cs (1)
55Assert.Equal(AccessibleRole.None, accessibilityObject.Role);
System\Windows\Forms\AccessibleObjects\PropertyGrid.PropertyGridAccessibleObjectTests.cs (1)
61[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\ScrollBar.ScrollBarAccessibleObjectTests.cs (1)
19[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\Splitter.SplitterAccessibleObjectTests.cs (1)
75[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\TabPage.TabAccessibleObjectTests.cs (1)
99[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (1)
38[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\TextBoxBaseAccessibleObjectTests.cs (1)
118[InlineData(false, AccessibleRole.None, (int)UIA_CONTROLTYPE_ID.UIA_PaneControlTypeId)]
System\Windows\Forms\AccessibleObjects\ToolStripNumericUpDown.ToolStripNumericUpDownAccessibleObjectTests.cs (1)
35[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\ToolStripProgressBar.ToolStripProgressBarControl.ToolStripProgressBarControlAccessibleObjectTests.cs (1)
35[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\ToolStripTextBox.ToolStripTextBoxControlAccessibleObjectTests.cs (1)
91[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarChildAccessibleObjectTests.cs (1)
115accessibleObject.Role.Should().Be(AccessibleRole.None);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarFirstButtonAccessibleObjectTests.cs (1)
140AccessibleRole accessibleRole = createControl ? AccessibleRole.PushButton : AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarLastButtonAccessibleObjectTests.cs (1)
140AccessibleRole accessibleRole = createControl ? AccessibleRole.PushButton : AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarThumbAccessibleObjectTests.cs (1)
73AccessibleRole accessibleRole = createControl ? AccessibleRole.Indicator : AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\UpDownBase.UpDownEdit.UpDownEditAccessibleObjectTests.cs (1)
146[InlineData(false, AccessibleRole.None, (int)UIA_CONTROLTYPE_ID.UIA_PaneControlTypeId)]
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
120AccessibleRole expectedRole = createControl ? AccessibleRole.PushButton : AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
131AccessibleRole expectedRole = createControl ? AccessibleRole.PushButton : AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
132Assert.Equal(AccessibleRole.None, accessibleObject.Role);
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
120AccessibleRole expectedRole = createControl ? AccessibleRole.PushButton : AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
110Assert.Equal(AccessibleRole.None, accessibleObject.Role);
System\Windows\Forms\AccessibleObjects\VScrollBar.VScrollBarAccessibleObjectTests.cs (1)
21[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleRoleControlTypeMapTests.cs (1)
79yield return new object[] { AccessibleRole.None, UIA_CONTROLTYPE_ID.UIA_PaneControlTypeId };
System\Windows\Forms\ButtonTests.cs (5)
1009Assert.Equal(AccessibleRole.None, instance.Role); 1041[InlineData(false, FlatStyle.Flat, AccessibleStates.None, AccessibleRole.None)] 1042[InlineData(false, FlatStyle.Popup, AccessibleStates.None, AccessibleRole.None)] 1043[InlineData(false, FlatStyle.Standard, AccessibleStates.None, AccessibleRole.None)] 1044[InlineData(false, FlatStyle.System, AccessibleStates.None, AccessibleRole.None)]
System\Windows\Forms\ControlTests.Methods.cs (1)
395[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
974[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\ListBoxTests.cs (1)
4750[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\Printing\PrintPreviewControl.PrintPreviewControlAccessibilityObjectTests.cs (1)
18Assert.Equal(AccessibleRole.None, accessibleObject.Role);
System\Windows\Forms\ProgressBarTests.cs (1)
1760[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\CommandsPane.CommandsPaneAccessibleObjectTests.cs (1)
38[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\DetailsButton.DetailsButtonAccessibleObjectTests.cs (1)
42[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\HelpPane.HelpPaneAccessibleObjectTests.cs (1)
39[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.GridViewListBoxAccessibleObjectTests.cs (1)
43[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.GridViewTextBox.GridViewTextBoxAccessibleObjectTests.cs (1)
169[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\ToolStripControlHostTests.cs (1)
2507[InlineData(false, AccessibleRole.None)]
TextBoxTests.cs (1)
450[InlineData(false, AccessibleRole.None)]