10 references to s_statePressed
System.Windows.Forms (10)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (10)
127private 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; 1586public virtual bool Pressed => CanSelect && _state[s_statePressed]; 2411_state[s_statePressed] = true; 2432_state[s_statePressed] = false; 2520if (_state[s_stateMouseDownAndNoDrag] || _state[s_statePressed] || _state[s_stateSelected]) 2522_state[s_stateMouseDownAndNoDrag | s_statePressed | s_stateSelected] = false; 3028if (_state[s_statePressed] != push) 3030_state[s_statePressed] = push;