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;
1594
public virtual bool Pressed => CanSelect && _state[
s_statePressed
];
2419
_state[
s_statePressed
] = true;
2440
_state[
s_statePressed
] = false;
2528
if (_state[s_stateMouseDownAndNoDrag] || _state[
s_statePressed
] || _state[s_stateSelected])
2530
_state[s_stateMouseDownAndNoDrag |
s_statePressed
| s_stateSelected] = false;
3036
if (_state[
s_statePressed
] != push)
3038
_state[
s_statePressed
] = push;