76 references to None
System.Windows.Forms (5)
System\Windows\Forms\Accessibility\AccessibleObject.cs (1)
670or 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)
30Assert.Equal(AccessibleRole.None, accessibleObject.Role); 625Assert.Equal(AccessibleRole.None, accessibleObject.Role); 691Assert.Equal(AccessibleRole.None, accessibleObject.Role); 710Assert.Equal(AccessibleRole.None, accessibleObject.Role); 769Assert.Equal(AccessibleRole.None, accessibleObject.Role); 2136[InlineData(AccessibleRole.None, 0)] 2137[InlineData(AccessibleRole.None, unchecked((int)0x80020004))] 2138[InlineData(AccessibleRole.None, "abc")] 2139[InlineData(AccessibleRole.None, null)] 2174[InlineData(AccessibleRole.None, 2, 1, 0)] 2177[InlineData(AccessibleRole.None, 3, 0, 1)]
System\Windows\Forms\AccessibleObjects\Button.ButtonAccessibleObjectTests.cs (1)
33[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\ButtonBase.ButtonBaseAccessibleObjectTests.cs (3)
71[InlineData(false, true, AccessibleRole.None)] 125Assert.Equal(AccessibleRole.None, instance.Role); 190[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\CheckedListBoxAccessibleObjectTests.cs (1)
91[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxAccessibleObjectTests.cs (1)
15[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (2)
79Assert.Equal(AccessibleRole.None, accessibleObject.Role); 765yield return new object[] { AccessibleRole.None };
System\Windows\Forms\AccessibleObjects\DataGridView.DataGridViewEditingPanelAccessibleObjectTests.cs (1)
63[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\DataGridViewComboBoxEditingControlAccessibleObjectTests.cs (1)
27[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\DataGridViewTextBoxEditingControl.DataGridViewTextBoxEditingControlAccessibleObjectTests.cs (1)
75[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\HScrollBar.HScrollBarAccessibleObjectTests.cs (1)
24[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
122AccessibleRole expectedRole = createControl ? AccessibleRole.PushButton : AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
133AccessibleRole expectedRole = createControl ? AccessibleRole.PushButton : AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
134Assert.Equal(AccessibleRole.None, accessibleObject.Role);
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
122AccessibleRole expectedRole = createControl ? AccessibleRole.PushButton : AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
112Assert.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)
36[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\MonthCalendar.MonthCalendarChildAccessibleObjectTests.cs (1)
37[InlineData((int)UIA_PROPERTY_ID.UIA_LegacyIAccessibleRolePropertyId, (int)AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\PictureBox.PictureBoxAccessibleObjectTests.cs (1)
77[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\ProgressBarAccessibleObjectTests.cs (1)
57Assert.Equal(AccessibleRole.None, accessibilityObject.Role);
System\Windows\Forms\AccessibleObjects\PropertyGrid.PropertyGridAccessibleObjectTests.cs (1)
62[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\ScrollBar.ScrollBarAccessibleObjectTests.cs (1)
21[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\Splitter.SplitterAccessibleObjectTests.cs (1)
77[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\TabPage.TabAccessibleObjectTests.cs (1)
101[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (1)
40[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\TextBoxBaseAccessibleObjectTests.cs (1)
120[InlineData(false, AccessibleRole.None, (int)UIA_CONTROLTYPE_ID.UIA_PaneControlTypeId)]
System\Windows\Forms\AccessibleObjects\ToolStripNumericUpDown.ToolStripNumericUpDownAccessibleObjectTests.cs (1)
37[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\ToolStripProgressBar.ToolStripProgressBarControl.ToolStripProgressBarControlAccessibleObjectTests.cs (1)
37[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\ToolStripTextBox.ToolStripTextBoxControlAccessibleObjectTests.cs (1)
93[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarChildAccessibleObjectTests.cs (1)
117accessibleObject.Role.Should().Be(AccessibleRole.None);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarFirstButtonAccessibleObjectTests.cs (1)
142AccessibleRole accessibleRole = createControl ? AccessibleRole.PushButton : AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarLastButtonAccessibleObjectTests.cs (1)
142AccessibleRole accessibleRole = createControl ? AccessibleRole.PushButton : AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarThumbAccessibleObjectTests.cs (1)
75AccessibleRole accessibleRole = createControl ? AccessibleRole.Indicator : AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\UpDownBase.UpDownEdit.UpDownEditAccessibleObjectTests.cs (1)
148[InlineData(false, AccessibleRole.None, (int)UIA_CONTROLTYPE_ID.UIA_PaneControlTypeId)]
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
122AccessibleRole 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)
134Assert.Equal(AccessibleRole.None, accessibleObject.Role);
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
122AccessibleRole expectedRole = createControl ? AccessibleRole.PushButton : AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
112Assert.Equal(AccessibleRole.None, accessibleObject.Role);
System\Windows\Forms\AccessibleObjects\VScrollBar.VScrollBarAccessibleObjectTests.cs (1)
23[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\AccessibleRoleControlTypeMapTests.cs (1)
81yield return new object[] { AccessibleRole.None, UIA_CONTROLTYPE_ID.UIA_PaneControlTypeId };
System\Windows\Forms\ButtonTests.cs (5)
1011Assert.Equal(AccessibleRole.None, instance.Role); 1043[InlineData(false, FlatStyle.Flat, AccessibleStates.None, AccessibleRole.None)] 1044[InlineData(false, FlatStyle.Popup, AccessibleStates.None, AccessibleRole.None)] 1045[InlineData(false, FlatStyle.Standard, AccessibleStates.None, AccessibleRole.None)] 1046[InlineData(false, FlatStyle.System, AccessibleStates.None, AccessibleRole.None)]
System\Windows\Forms\ControlTests.Methods.cs (1)
396[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
976[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\ListBoxTests.cs (1)
4752[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\Printing\PrintPreviewControl.PrintPreviewControlAccessibilityObjectTests.cs (1)
23Assert.Equal(AccessibleRole.None, accessibleObject.Role);
System\Windows\Forms\ProgressBarTests.cs (1)
1762[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)
44[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\HelpPane.HelpPaneAccessibleObjectTests.cs (1)
41[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.GridViewListBoxAccessibleObjectTests.cs (1)
45[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.GridViewTextBox.GridViewTextBoxAccessibleObjectTests.cs (1)
171[InlineData(false, AccessibleRole.None)]
System\Windows\Forms\ToolStripControlHostTests.cs (1)
2509[InlineData(false, AccessibleRole.None)]
TextBoxTests.cs (1)
452[InlineData(false, AccessibleRole.None)]