1 override of Pressed
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (1)
278
public override bool
Pressed
{
22 references to Pressed
System.Windows.Forms (22)
winforms\Managed\System\WinForms\ToolStrip.cs (1)
1998
else if (item != null && DisplayedItems[i].
Pressed
) {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
1615
if ((OwnerItem == null || OwnerItem.
Pressed
) && charCode != ' ') {
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (1)
286
return base.
Pressed
;
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (7)
94
if (e.Item.
Pressed
) {
116
checkColorMap[0].NewColor = ((e.Item.Selected || e.Item.
Pressed
) && e.Item.Enabled) ?
174
if (!e.Item.IsOnDropDown && e.Item.
Pressed
) {
196
if (AccessibilityImprovements.Level2 && e.Item.Selected && (!e.Item.
Pressed
|| e.Item is ToolStripButton)) {
201
if (e.Item.Selected || e.Item.
Pressed
) {
362
if (IsHighContrastWhiteOnBlack() && !(FillWhenSelected && (e.Item.
Pressed
|| e.Item.Selected))) {
422
if (e.Item.
Pressed
) {
winforms\Managed\System\WinForms\ToolStripItem.cs (2)
4279
if (ownerItem.Selected || ownerItem.
Pressed
) {
4282
if (ownerItem.
Pressed
) {
winforms\Managed\System\WinForms\ToolStripLabel.cs (1)
322
if (this.
Pressed
) {
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (6)
541
if (item.
Pressed
) {
628
if (e.Item is ToolStripMenuItem && (e.Item.Selected || e.Item.
Pressed
)) {
800
if (item.
Pressed
) {
915
fill = (e.Item.
Pressed
) ? ColorTable.CheckPressedBackground : fill;
925
if (e.Item.
Pressed
) {
1380
if (item.
Pressed
) {
winforms\Managed\System\WinForms\ToolStripRenderer.cs (1)
870
if (e.ShiftOnPress && e.Item.
Pressed
) {
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
109
return SplitButtonButton.
Pressed
;
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (1)
157
else if (item.
Pressed
) {