31 references to Visible
System.Windows.Forms (31)
System\Windows\Forms\ActiveX\AxHost.cs (7)
431
else if (containingControl.Visible && !GetState(States.
Visible
) && IsHandleCreated && GetOcState() >= OC_INPLACE)
1026
SetState(States.
Visible
, false);
1535
if (GetState(States.
Visible
) == value)
1589
SetState(States.
Visible
, value);
3146
bool visible = GetState(States.
Visible
);
3151
if (visible != GetState(States.
Visible
))
3153
SetState(States.
Visible
, visible);
System\Windows\Forms\Control.cs (14)
319
_state = States.
Visible
| States.Enabled | States.TabStop | States.CausesValidation;
1345
if (_state.HasFlag(States.
Visible
))
5349
internal bool DesiredVisibility => GetState(States.
Visible
);
10335
SetState(States.
Visible
, value);
10356
SetState(States.
Visible
, !value);
10363
SetState(States.
Visible
, value);
10398
SetState(States.
Visible
, value);
10980
if ((_state & States.
Visible
) != 0)
11346
SetState(States.
Visible
, false);
11996
bool oldVisibleBit = GetState(States.
Visible
);
11997
SetState(States.
Visible
, true);
12011
SetState(States.
Visible
, oldVisibleBit);
12030
SetState(States.
Visible
, false);
12601
bool IArrangedElement.ParticipatesInLayout => GetState(States.
Visible
);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
16852
if (GetState(States.
Visible
))
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
4662
get { return GetState(States.
Visible
); }
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1086
SetState(States.
Visible
, false);
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflow.cs (1)
67
get { return GetState(States.
Visible
); }
System\Windows\Forms\Form.cs (5)
206
SetState(States.
Visible
, false);
1470
bool oldVisibleBit = GetState(States.
Visible
);
2122
SetState(States.
Visible
, false);
2129
SetState(States.
Visible
, true);
3777
return GetState(States.
Visible
) && IsHandleCreated;
System\Windows\Forms\UserControl.cs (1)
32
SetState(States.
Visible
, true);