5 references to s_stateSupportsRightClick
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (5)
134private static readonly int s_stateSupportsItemClick = BitVector32.CreateMask(s_stateSupportsRightClick); 152_state[s_stateAllowDrop | s_stateMouseDownAndNoDrag | s_stateSupportsRightClick | s_statePressed | s_stateSelected | s_stateDisposed | s_stateDoubleClickEnabled | s_stateRightToLeftAutoMirrorImage | s_stateSupportsSpaceKey] = false; 1815get => _state[s_stateSupportsRightClick]; 1816set => _state[s_stateSupportsRightClick] = value; 2573if (e.Button == MouseButtons.Left || (e.Button == MouseButtons.Right && _state[s_stateSupportsRightClick]))