11 references to stateSelected
System.Windows.Forms (11)
winforms\Managed\System\WinForms\ToolStripItem.cs (11)
160
private static readonly int stateContstructing = BitVector32.CreateMask(
stateSelected
);
192
state[stateAllowDrop | stateMouseDownAndNoDrag | stateSupportsRightClick | statePressed |
stateSelected
| stateDisposed | stateDoubleClickEnabled | stateRightToLeftAutoMirrorImage | stateSupportsSpaceKey] = false;
952
bool wasSelected = state[
stateSelected
];
954
state[
stateSelected
| statePressed] = false;
2149
return CanSelect && !DesignMode && (state[
stateSelected
] ||
2904
if (state[stateMouseDownAndNoDrag] || state[statePressed] || state[
stateSelected
]) {
2905
state[stateMouseDownAndNoDrag | statePressed |
stateSelected
] = false;
3546
state[
stateSelected
] = true;
3549
Debug.Assert(state[
stateSelected
], "calling notify selection change changed the selection state of this item");
3928
if (state[
stateSelected
]) {
3929
state[
stateSelected
] = false;