43 references to PushButton
System.Windows.Forms (6)
System\Windows\Forms\Accessibility\AccessibleObject.cs (1)
661or AccessibleRole.PushButton
System\Windows\Forms\Accessibility\AccessibleRoleControlTypeMap.cs (1)
62{ AccessibleRole.PushButton, UIA_CONTROLTYPE_ID.UIA_ButtonControlTypeId },
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarButtonAccessibleObject.cs (1)
88public override AccessibleRole Role => AccessibleRole.PushButton;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAccessibleObject.cs (1)
79public override AccessibleRole Role => AccessibleRole.PushButton;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
156return AccessibleRole.PushButton;
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.UpDownButtonsAccessibleObject.DirectionButtonAccessibleObject.cs (1)
104public override AccessibleRole Role => AccessibleRole.PushButton;
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
248_button.AccessibleRole = (_button.Ellipsis ? AccessibleRole.PushButton : AccessibleRole.ButtonDropDown);
System.Windows.Forms.Tests (36)
System\Windows\Forms\AccessibleObjects\Button.ButtonAccessibleObjectTests.cs (1)
30[InlineData(true, AccessibleRole.PushButton)]
System\Windows\Forms\AccessibleObjects\CheckBox.CheckBoxAccessibleObjectTests.cs (2)
81AccessibleRole = AccessibleRole.PushButton 87Assert.Equal(AccessibleRole.PushButton, checkBoxAccessibleObject.Role);
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (1)
795yield return new object[] { AccessibleRole.PushButton };
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)
121Assert.Equal(AccessibleRole.PushButton, accessibleObject.Role);
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
120AccessibleRole expectedRole = createControl ? AccessibleRole.PushButton : AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarButtonAccessibleObjectTests.cs (1)
95Assert.Equal(AccessibleRole.PushButton, actual);
System\Windows\Forms\AccessibleObjects\PictureBox.PictureBoxAccessibleObjectTests.cs (2)
63AccessibleRole = AccessibleRole.PushButton 69Assert.Equal(AccessibleRole.PushButton, pictureBoxAccessibleObject.Role);
System\Windows\Forms\AccessibleObjects\RadioButton.RadioButtonAccessibleObjectTests.cs (2)
124AccessibleRole = AccessibleRole.PushButton 130Assert.Equal(AccessibleRole.PushButton, radioButtonAccessibleObject.Role);
System\Windows\Forms\AccessibleObjects\Splitter.SplitterAccessibleObjectTests.cs (2)
63AccessibleRole = AccessibleRole.PushButton 69Assert.Equal(AccessibleRole.PushButton, splitterAccessibleObject.Role);
System\Windows\Forms\AccessibleObjects\ToolStripButton.ToolStripButtonAccessibleObjectTests.cs (1)
39Assert.Equal(AccessibleRole.PushButton, actual);
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\UpDownBase.UpDownButtons.UpDownButtonsAccessibleObject.DirectionButtonAccessibleObjectTests.cs (1)
31[InlineData((int)UIA_PROPERTY_ID.UIA_LegacyIAccessibleRolePropertyId, (int)AccessibleRole.PushButton)]
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)
121Assert.Equal(AccessibleRole.PushButton, accessibleObject.Role);
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
120AccessibleRole expectedRole = createControl ? AccessibleRole.PushButton : AccessibleRole.None;
System\Windows\Forms\AccessibleRoleControlTypeMapTests.cs (1)
88yield return new object[] { AccessibleRole.PushButton, UIA_CONTROLTYPE_ID.UIA_ButtonControlTypeId };
System\Windows\Forms\ButtonTests.cs (5)
1030Assert.Equal(AccessibleRole.PushButton, instance.Role); 1037[InlineData(true, FlatStyle.Flat, AccessibleStates.Pressed | AccessibleStates.Focusable, AccessibleRole.PushButton)] 1038[InlineData(true, FlatStyle.Popup, AccessibleStates.Pressed | AccessibleStates.Focusable, AccessibleRole.PushButton)] 1039[InlineData(true, FlatStyle.Standard, AccessibleStates.Pressed | AccessibleStates.Focusable, AccessibleRole.PushButton)] 1040[InlineData(true, FlatStyle.System, AccessibleStates.Focusable, AccessibleRole.PushButton)]
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\DetailsButton.DetailsButtonAccessibleObjectTests.cs (1)
41[InlineData(true, AccessibleRole.PushButton)]
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\DropDownButton.DropDownButtonAccessibleObjectTests.cs (2)
36[InlineData((int)UIA_PROPERTY_ID.UIA_LegacyIAccessibleRolePropertyId, (int)AccessibleRole.PushButton)] 63Assert.Equal(AccessibleRole.PushButton, actual);
System\Windows\Forms\ToolStrip.ToolStripAccessibleObjectWrapperForItemsOnOverflowTests.cs (1)
52Assert.Equal(AccessibleRole.PushButton, actual);
System\Windows\Forms\ToolStripButtonTests.cs (2)
1004Assert.Equal(AccessibleRole.PushButton, accessibleObject.Role); 1070Assert.Equal(AccessibleRole.PushButton, accessibleObject.Role);
System\Windows\Forms\ToolStripItemTests.cs (1)
9838Assert.Equal(AccessibleRole.PushButton, accessibleObject.Role);