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