4 writes to _state
System.Windows.Forms (4)
System\Windows\Forms\Control.cs (4)
335
_state
= States.Visible | States.Enabled | States.TabStop | States.CausesValidation;
11122
_state
= value ? _state | flag : _state & ~flag;
11826
_state
|= States.NoZOrder;
11837
_state
&= ~States.NoZOrder;
12 references to _state
System.Windows.Forms (12)
System\Windows\Forms\Control.ControlCollection.cs (1)
106
if (oldParent != value._parent && (Owner.
_state
& States.Created) != 0)
System\Windows\Forms\Control.cs (11)
1603
if (!
_state
.HasFlag(States.TopLevel))
1615
if (
_state
.HasFlag(States.TabStop))
1620
if (
_state
.HasFlag(States.Visible))
3359
get => (
_state
& States.TabStop) != 0;
5375
protected bool GetTopLevel() => (
_state
& States.TopLevel) != 0;
6037
private protected bool GetState(States flag) => (
_state
& flag) != 0;
11122
_state = value ?
_state
| flag :
_state
& ~flag;
11875
if ((
_state
& States.Visible) != 0)
12882
if (
_state
.HasFlag(States.Recreate))
13041
&& (
_state
& States.NoZOrder) == 0)