31 references to Visible
System.Windows.Forms (31)
System\Windows\Forms\ActiveX\AxHost.cs (7)
430
else if (containingControl.Visible && !GetState(States.
Visible
) && IsHandleCreated && GetOcState() >= OC_INPLACE)
1025
SetState(States.
Visible
, false);
1534
if (GetState(States.
Visible
) == value)
1588
SetState(States.
Visible
, value);
3145
bool visible = GetState(States.
Visible
);
3150
if (visible != GetState(States.
Visible
))
3152
SetState(States.
Visible
, visible);
System\Windows\Forms\Control.cs (14)
318
_state = States.
Visible
| States.Enabled | States.TabStop | States.CausesValidation;
1344
if (_state.HasFlag(States.
Visible
))
5308
internal bool DesiredVisibility => GetState(States.
Visible
);
10302
SetState(States.
Visible
, value);
10323
SetState(States.
Visible
, !value);
10330
SetState(States.
Visible
, value);
10365
SetState(States.
Visible
, value);
10947
if ((_state & States.
Visible
) != 0)
11313
SetState(States.
Visible
, false);
11964
bool oldVisibleBit = GetState(States.
Visible
);
11965
SetState(States.
Visible
, true);
11979
SetState(States.
Visible
, oldVisibleBit);
11998
SetState(States.
Visible
, false);
12569
bool IArrangedElement.ParticipatesInLayout => GetState(States.
Visible
);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
16833
if (GetState(States.
Visible
))
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
4667
get { return GetState(States.
Visible
); }
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1089
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);