5 references to s_stateSupportsSpaceKey
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (5)
138private static readonly int s_stateMouseDownAndUpMustBeInSameItem = BitVector32.CreateMask(s_stateSupportsSpaceKey); 152_state[s_stateAllowDrop | s_stateMouseDownAndNoDrag | s_stateSupportsRightClick | s_statePressed | s_stateSelected | s_stateDisposed | s_stateDoubleClickEnabled | s_stateRightToLeftAutoMirrorImage | s_stateSupportsSpaceKey] = false; 1827get => _state[s_stateSupportsSpaceKey]; 1828set => _state[s_stateSupportsSpaceKey] = value; 3043if (keyData == Keys.Enter || (_state[s_stateSupportsSpaceKey] && keyData == Keys.Space))