10 references to s_statePressed
System.Windows.Forms (10)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (10)
127
private static readonly int s_stateSelected = BitVector32.CreateMask(
s_statePressed
);
152
_state[s_stateAllowDrop | s_stateMouseDownAndNoDrag | s_stateSupportsRightClick |
s_statePressed
| s_stateSelected | s_stateDisposed | s_stateDoubleClickEnabled | s_stateRightToLeftAutoMirrorImage | s_stateSupportsSpaceKey] = false;
818
_state[s_stateSelected |
s_statePressed
] = false;
1586
public virtual bool Pressed => CanSelect && _state[
s_statePressed
];
2411
_state[
s_statePressed
] = true;
2432
_state[
s_statePressed
] = false;
2520
if (_state[s_stateMouseDownAndNoDrag] || _state[
s_statePressed
] || _state[s_stateSelected])
2522
_state[s_stateMouseDownAndNoDrag |
s_statePressed
| s_stateSelected] = false;
3028
if (_state[
s_statePressed
] != push)
3030
_state[
s_statePressed
] = push;