Base:
property
Pressed
System.Windows.Forms.ToolStripItem.Pressed
12 references to Pressed
System.Windows.Forms (12)
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (1)
183if (Selected && !Pressed && AccessibilityImprovements.Level2 && SystemInformation.HighContrast) {
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (2)
144 if (item.Pressed) { 154 Color arrowColor = AccessibilityImprovements.Level2 && item.Selected && !item.Pressed ? SystemColors.HighlightText : SystemColors.ControlText;
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (3)
1065if (Selected || Pressed) { 1114Color arrowColor = (Selected ||Pressed) ? SystemColors.HighlightText : SystemColors.MenuText; 1415if (menuItem != null && menuItem.Pressed) {
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (5)
215if (item != null && item.Pressed && item.HasDropDownItems) { 253bool buttonPressedOrSelected = (item.Pressed || item.ButtonPressed || item.Selected || item.ButtonSelected); 269else if (item.Pressed) { 274if (buttonPressedOrSelected && !item.Pressed) { 1077if (item.Pressed) {
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (1)
399if (item.Selected || item.Pressed) {