43 references to PushButton
System.Windows.Forms (6)
System\Windows\Forms\Accessibility\AccessibleObject.cs (1)
661
or 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)
87
public override AccessibleRole Role => AccessibleRole.
PushButton
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAccessibleObject.cs (1)
79
public override AccessibleRole Role => AccessibleRole.
PushButton
;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
156
return AccessibleRole.
PushButton
;
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.UpDownButtonsAccessibleObject.DirectionButtonAccessibleObject.cs (1)
104
public 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)
81
AccessibleRole = AccessibleRole.
PushButton
87
Assert.Equal(AccessibleRole.
PushButton
, checkBoxAccessibleObject.Role);
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (1)
795
yield return new object[] { AccessibleRole.
PushButton
};
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
120
AccessibleRole expectedRole = createControl ? AccessibleRole.
PushButton
: AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
131
AccessibleRole expectedRole = createControl ? AccessibleRole.
PushButton
: AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
121
Assert.Equal(AccessibleRole.
PushButton
, accessibleObject.Role);
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
120
AccessibleRole expectedRole = createControl ? AccessibleRole.
PushButton
: AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarButtonAccessibleObjectTests.cs (1)
95
Assert.Equal(AccessibleRole.
PushButton
, actual);
System\Windows\Forms\AccessibleObjects\PictureBox.PictureBoxAccessibleObjectTests.cs (2)
63
AccessibleRole = AccessibleRole.
PushButton
69
Assert.Equal(AccessibleRole.
PushButton
, pictureBoxAccessibleObject.Role);
System\Windows\Forms\AccessibleObjects\RadioButton.RadioButtonAccessibleObjectTests.cs (2)
124
AccessibleRole = AccessibleRole.
PushButton
130
Assert.Equal(AccessibleRole.
PushButton
, radioButtonAccessibleObject.Role);
System\Windows\Forms\AccessibleObjects\Splitter.SplitterAccessibleObjectTests.cs (2)
63
AccessibleRole = AccessibleRole.
PushButton
69
Assert.Equal(AccessibleRole.
PushButton
, splitterAccessibleObject.Role);
System\Windows\Forms\AccessibleObjects\ToolStripButton.ToolStripButtonAccessibleObjectTests.cs (1)
39
Assert.Equal(AccessibleRole.
PushButton
, actual);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarFirstButtonAccessibleObjectTests.cs (1)
140
AccessibleRole accessibleRole = createControl ? AccessibleRole.
PushButton
: AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarLastButtonAccessibleObjectTests.cs (1)
140
AccessibleRole 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)
120
AccessibleRole expectedRole = createControl ? AccessibleRole.
PushButton
: AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
131
AccessibleRole expectedRole = createControl ? AccessibleRole.
PushButton
: AccessibleRole.None;
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
121
Assert.Equal(AccessibleRole.
PushButton
, accessibleObject.Role);
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
120
AccessibleRole expectedRole = createControl ? AccessibleRole.
PushButton
: AccessibleRole.None;
System\Windows\Forms\AccessibleRoleControlTypeMapTests.cs (1)
88
yield return new object[] { AccessibleRole.
PushButton
, UIA_CONTROLTYPE_ID.UIA_ButtonControlTypeId };
System\Windows\Forms\ButtonTests.cs (5)
1030
Assert.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
)]
63
Assert.Equal(AccessibleRole.
PushButton
, actual);
System\Windows\Forms\ToolStrip.ToolStripAccessibleObjectWrapperForItemsOnOverflowTests.cs (1)
52
Assert.Equal(AccessibleRole.
PushButton
, actual);
System\Windows\Forms\ToolStripButtonTests.cs (2)
1004
Assert.Equal(AccessibleRole.
PushButton
, accessibleObject.Role);
1070
Assert.Equal(AccessibleRole.
PushButton
, accessibleObject.Role);
System\Windows\Forms\ToolStripItemTests.cs (1)
9838
Assert.Equal(AccessibleRole.
PushButton
, accessibleObject.Role);