169 writes to Visible
PresentationUI (33)
MS\Internal\Documents\RMEnrollmentPage1.cs (1)
29_pictureBox.Visible = false;
MS\Internal\Documents\RMEnrollmentPage2.cs (3)
30_pictureBox1.Visible = false; 31_pictureBox2.Visible = false; 32_pictureBox4.Visible = false;
MS\Internal\Documents\RMPublishingDialog.cs (9)
592flowLayoutPanelUnrestricted.Visible = true; 593flowLayoutPanelPermissions.Visible = false; 594flowLayoutPanelTemplate.Visible = false; 601flowLayoutPanelUnrestricted.Visible = false; 602flowLayoutPanelPermissions.Visible = true; 603flowLayoutPanelTemplate.Visible = false; 608flowLayoutPanelUnrestricted.Visible = false; 609flowLayoutPanelPermissions.Visible = false; 610flowLayoutPanelTemplate.Visible = true;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (2)
147this.flowLayoutPanelPermissions.Visible = false; 157this.flowLayoutPanelTemplate.Visible = false;
MS\Internal\Documents\SignatureSummaryDialog.cs (16)
52_buttonSign.Visible = false; 53_buttonViewCert.Visible = false; 54_buttonRequestAdd.Visible = true; 55_buttonRequestDelete.Visible = true; 61_buttonRequestAdd.Visible = false; 62_buttonRequestDelete.Visible = false; 63_buttonSign.Visible = true; 64_buttonViewCert.Visible = true; 199_buttonSign.Visible = false; 200_buttonViewCert.Visible = false; 201_buttonRequestAdd.Visible = true; 202_buttonRequestDelete.Visible = true; 209_buttonRequestAdd.Visible = false; 210_buttonRequestDelete.Visible = false; 211_buttonSign.Visible = true; 212_buttonViewCert.Visible = true;
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (2)
132_buttonRequestAdd.Visible = false; 211Visible = false;
System.Windows.Forms (81)
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (1)
244control.Visible = value;
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (2)
959_control.Visible = false; 1748_control.Visible = visible;
System\Windows\Forms\Application.MarshallingControl.cs (1)
18Visible = false;
System\Windows\Forms\Application.ParkingWindow.cs (1)
28Visible = false;
System\Windows\Forms\Application.ThreadContext.cs (2)
719ApplicationContext.MainForm?.Visible = true; 789CurrentForm.Visible = true;
System\Windows\Forms\Control.cs (3)
5822Visible = false; 9487Visible = true; 10727Visible = true;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
460_horizScrollBar.Visible = false; 467_vertScrollBar.Visible = false;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (5)
10323_horizScrollBar.Visible = true; 10328_horizScrollBar.Visible = false; 10365_vertScrollBar.Visible = true; 10372_vertScrollBar.Visible = false; 19901_editingPanel.Visible = true;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
2465dgv.EditingControl.Visible = true; 2467dgv.EditingPanel.Visible = false;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (3)
226_commandsPane.Visible = false; 671_helpPane.Visible = value; 1244_toolStrip.Visible = value;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.cs (3)
48Visible = value && WouldBeVisible; 178Visible = false; 194Visible = true;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (2)
89_detailsTextBox.Visible = !_detailsTextBox.Visible; 258Visible = false
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridToolTip.cs (2)
55Visible = false; 69Visible = true;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (22)
347_listBox.Visible = true; 788_dropDownHolder.Visible = false; 867EditTextBox.Visible = false; 877DialogButton.Visible = false; 884DropDownButton.Visible = false; 895control.Visible = false; 921control.Visible = true; 931control.Visible = false; 1437_dropDownHolder.Visible = false; 1480_dropDownHolder.Visible = true; 2338DropDownListBox.Visible = false; 2405ToolTip.Visible = false; 3817toolTip.Visible = false; 3837toolTip.Visible = true; 4203EditTextBox.Visible = false; 4204DialogButton.Visible = false; 4205DropDownButton.Visible = false; 4214EditTextBox.Visible = editVisible; 4215DialogButton.Visible = dialogButtonVisible; 4216DropDownButton.Visible = dropDownButtonVisible; 4403EditTextBox.Visible = false; 4857ScrollBar.Visible = hidden;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (2)
62Visible = false; 647control.Visible = true;
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
474set => base.Visible = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (4)
161BottomToolStripPanel.Visible = value; 279LeftToolStripPanel.Visible = value; 306RightToolStripPanel.Visible = value; 335TopToolStripPanel.Visible = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (2)
38c.Visible = true; 834ControlInternal.Visible = visible;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
863set => base.Visible = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (1)
126Control.Visible = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.cs (2)
141c.Visible = false; 181toolStrip.Visible = settings.Visible;
System\Windows\Forms\Design\ComponentEditorPage.cs (3)
21Visible = false; 116Visible = true; 130Visible = false;
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (2)
329_details.Visible = _detailsVisible; 386_details.Visible = _detailsVisible;
System\Windows\Forms\Form.cs (4)
1464Visible = false; 1514Visible = oldVisibleBit; 3395Visible = true; 5498Visible = true;
System\Windows\Forms\Panels\SplitterPanel.cs (1)
263set => base.Visible = value;
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.BackgroundThread.cs (1)
68_dialog.Visible = true;
System\Windows\Forms\Printing\PrintPreviewControl.cs (4)
72Visible = false, 85Visible = false, 798_hScrollBar.Visible = horizontalScrollNeeded; 815_vScrollBar.Visible = verticalScrollNeeded;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
526set => base.Visible = value;
System\Windows\Forms\SendKeys\SendKeys.SKWindow.cs (1)
18Visible = false;
System.Windows.Forms.Design (54)
System\ComponentModel\Design\ByteViewer.cs (2)
451_scrollBar.Visible = false; 465Visible = false
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (2)
132_dropDownHolder?.Visible = false; 463Visible = false;
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (4)
130Visible = false; 151Visible = true; // NOTE: Do this AFTER creating handle and setting parent 175Visible = false; 187toplevel?.Visible = false;
System\ComponentModel\Design\DesignerActionPanel.PanelHeaderLine.cs (1)
118_subtitleLabel.Visible = (_subtitleLabel.Text.Length != 0);
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (6)
39Visible = false 51Visible = false 134_readOnlyTextBoxLabel.Visible = true; 135_textBox.Visible = false; 142_readOnlyTextBoxLabel.Visible = false; 145_textBox.Visible = true;
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (3)
235currentControl.Visible = true; 257currentControl.Visible = true; 1112c.Visible = show;
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
159control.Visible = true;
System\Windows\Forms\Design\ComponentTray.cs (1)
192control.Visible = shouldDisplay;
System\Windows\Forms\Design\ControlDesigner.cs (2)
998Control.Visible = true; 2512c.Visible = false;
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
423_helpTextPanel.Visible = (showDataSources);
System\Windows\Forms\Design\DesignerFrame.cs (4)
73designerHolder.Visible = false; 105_designer.Visible = true; 437control.Visible = false; 451c.Visible = true;
System\Windows\Forms\Design\FormatControl.cs (11)
253decimalPlacesUpDown.Visible = true; 257decimalPlacesUpDown.Visible = false; 264thirdRowLabel.Visible = true; 267_customStringTextBox.Visible = true; 278thirdRowLabel.Visible = false; 279_customStringTextBox.Visible = false; 291dateTimeFormatsListBox.Visible = true; 298dateTimeFormatsListBox.Visible = false; 301secondRowLabel.Visible = secondRowLabel.Text.Length > 0; 348_customStringTextBox.Visible = false; 352dateTimeFormatsListBox.Visible = false;
System\Windows\Forms\Design\SelectionUIService.cs (4)
523Visible = false; 879set => Visible = value; 1086Visible = false; 1141Visible = _savedVisible;
System\Windows\Forms\Design\ToolStripDesigner.cs (6)
421Control.Visible = value; 2036_editorNode.Control.Visible = true; 2319ToolStrip.Visible = _currentVisible; 2322ToolStrip.Parent.Visible = _currentVisible; 2367Control.Visible = true; 2372ToolStrip.Parent.Visible = true;
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (3)
302_designMenu.Visible = false; 372Visible = false, 642_designMenu.Visible = true;
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
1331host.Control.Visible = false;
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
137Control.Visible = value;
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1446_miniToolStrip.Visible = true;
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
269windowsFormsHost.Child.Visible = ((SW.Visibility)value == SW.Visibility.Visible);
317 references to Visible
System.Windows.Forms (270)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
416if (previous.Visible && previous.TabStop)
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (1)
239get => GetControl()?.Visible ?? false;
System\Windows\Forms\ActiveX\AxHost.cs (12)
420if (containingControl.Visible && Visible && !_axState[s_fOwnWindow]) 424else if (!containingControl.Visible && Visible && IsHandleCreated && GetOcState() >= OC_INPLACE) 428else if (containingControl.Visible && !GetState(States.Visible) && IsHandleCreated && GetOcState() >= OC_INPLACE) 922if (containingControl is not null && containingControl.Visible && Visible) 1028Debug.Assert(!Visible, "If we were visible we would not be need a fake window."); 1385if (!Visible && ContainingControl is not null && ContainingControl.Visible) 1537bool oldVisible = Visible; 1587if (Visible != oldVisible)
System\Windows\Forms\Control.ControlCollection.cs (1)
109if (value.Visible)
System\Windows\Forms\Control.cs (19)
2315if (!IsHandleCreated || !Visible) 3533return ParentInternal is null || ParentInternal.Visible; 4248bool oldVisible = Visible; 4267bool newVisible = Visible; 4415Enabled && Visible && (_parent is null || _parent.CanProcessMnemonic()); 4427if (!ctl.Enabled || !ctl.Visible) 4653if (!ignoreVisible && (GetState(States.Created) || !Visible)) 7223/// Raises the <see cref="Visible"/> event. 7230bool visible = Visible; 7258if (child.Visible) 8563|| ((validationConstraints & ValidationConstraints.Visible) == ValidationConstraints.Visible && !c.Visible) 8846if (child.Visible) 10399if (value && Visible) 10410if (value != Visible) 10469if (value != Visible) 11061_window.LockReference(GetTopLevel() && Visible); 12101bool oldVisibleProperty = Visible; 12134parentVisible = ParentInternal.Visible; 12825IsHandleCreated && Visible && (ToolStripControlHost is not IKeyboardToolTip toolTip || toolTip.CanShowToolTipsNow());
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
802private void Animate() => Animate(!DesignMode && Visible && Enabled && ParentInternal is not null);
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (4)
88if (owner._horizScrollBar.Visible) 100if (owner._vertScrollBar.Visible) 126if (owner._horizScrollBar.Visible) 131if (owner._vertScrollBar.Visible)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (6)
2130if (_horizScrollBar is not null && _horizScrollBar.Visible) 2135if (_vertScrollBar is not null && _vertScrollBar.Visible) 2210if (_vertScrollBar is not null && _vertScrollBar.Visible) 2218if (_horizScrollBar is not null && _horizScrollBar.Visible) 2409Debug.Assert(firstDisplayedColumnIndex == firstDisplayedColumnIndexDbg1 || !Visible || DisplayedBandsInfo.Dirty); 2787internal bool HorizontalScrollBarVisible => _horizScrollBar.Visible;
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (1)
569bool startUpdateInternal = _owner.Visible;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (14)
4547if (_vertScrollBar.Visible 6410if (DisplayedBandsInfo.Dirty && Visible) 8570|| !_vertScrollBar.Visible 9290if (_horizScrollBar is not null && _horizScrollBar.Visible && _horizScrollBar.Bounds.Contains(x, y)) 9296if (_vertScrollBar is not null && _vertScrollBar.Visible && _vertScrollBar.Bounds.Contains(x, y)) 10023if (_horizScrollBar is not null && _horizScrollBar.Visible) 10028if (_vertScrollBar is not null && _vertScrollBar.Visible) 14979if (_vertScrollBar is not null && _vertScrollBar.Visible) 14988if (_horizScrollBar is not null && _horizScrollBar.Visible) 16466if (!sb.Visible || !sb.Enabled) 19124if (Visible) 19198UpdateColumnsDisplayedState(displayed: Visible); 25418bool startUpdateInternal = Visible; 25514bool startBeginUpdate = Visible;
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (1)
55if (DataGridView is null || !DataGridView.Visible)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
247bool suspendRedraw = Visible;
System\Windows\Forms\Controls\Labels\Label.cs (1)
847internal void Animate() => Animate(!DesignMode && Visible && Enabled && ParentInternal is not null);
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
969private void Animate() => Animate(animate: !DesignMode && Visible && Enabled && ParentInternal is not null);
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (32)
499public virtual bool CommandsVisible => _commandsPane.Visible; 513bool hotcommandsVisible = _commandsPane.Visible; 516if (hotcommandsVisible != _commandsPane.Visible) 592if (value && IsHandleCreated && Visible) 691internal bool GridViewVisible => _gridView is not null && _gridView.Visible; 1734bool commandsPaneDisplayed = _commandsPane.Visible; 1789if (commandsPaneDisplayed != _commandsPane.Visible) 1888if (_commandsPane.Visible) 1900if (_helpPane.Visible) 1939if (target == _helpPane && _commandsPane.Visible) 2583if (!IsHandleCreated || !Visible) 2601if (!_toolStrip.Visible && !_helpPane.Visible && !_commandsPane.Visible) 2608if (_toolStrip.Visible) 2642helpRequestedHeight = _helpPane.Visible ? _helpPane.Size.Height : 0; 2643commandsRequestedHeight = _commandsPane.Visible ? _commandsPane.Size.Height : 0; 2647if (_helpPane.Visible) 2664if (_commandsPane.Visible) 2854if (IsHandleCreated && Visible) 2895if (_commandsPane.Visible) 2904if (_helpPane.Visible) 3203if (Visible && IsHandleCreated) 3226if (_commandsPane.Visible && _commandsPane.ContainsFocus) 3232if (_toolStrip.Visible) 3249if (_toolStrip.Focused || !_toolStrip.Visible) 3258if (_commandsPane.Visible) 3266else if (_toolStrip.Visible) 3300if (_commandsPane.Visible) 3317if (_toolStrip.Visible) 4214return _toolStrip.Visible && _toolStrip.Focused; 4218return _gridView.ContainsFocus && _toolStrip.Visible;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.cs (1)
169if (Visible && Enabled)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAccessibleObject.cs (1)
46if (!_owningDropDownButton.Visible
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (5)
75if (_detailsTextBox.Visible) 89_detailsTextBox.Visible = !_detailsTextBox.Visible; 95if (_detailsTextBox.Visible) 296if (Visible) 322if (_detailsTextBox.Visible)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridToolTip.cs (1)
51bool visible = Visible;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObject.cs (6)
59if (propertyGridView.DropDownButton is { Visible: true } dropDownButton) 69else if (propertyGridView.DialogButton is { Visible: true } dialogButton) 120if (propertyGridView.DropDownButton.Visible || propertyGridView.DialogButton.Visible) 197if (propertyGridView.DropDownButton is { Visible: true } dropDownButton) 207else if (propertyGridView.DialogButton is { Visible: true } dialogButton)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (51)
176if (!EditTextBox.Visible || !EditTextBox.Focused) 359=> DropDownListBox.Visible ? DropDownListBox.AccessibilityObject : null; 369internal bool DropDownVisible => _dropDownHolder is not null && _dropDownHolder.Visible; 435if (_editTextBox is null || !EditTextBox.Visible) 770if (_flags.HasFlag(Flags.DropDownClosing) || _dropDownHolder is null || !_dropDownHolder.Visible) 793if (DialogButton.Visible) 797else if (DropDownButton.Visible) 801else if (EditTextBox.Visible) 848if (IsHandleCreated && Visible && Enabled) 1048if (EditTextBox.Visible) 1057if (!CanPaste || !EditTextBox.Visible) 1084if (CanUndo && EditTextBox.Visible) 1227if (_errorState != ErrorState.None && EditTextBox.Visible) 1233if (DropDownButton.Visible) 1237else if (DialogButton.Visible) 1248else if (EditTextBox.Visible) 1317if (EditTextBox.Visible) 1520if (_dropDownHolder?.Visible == true && m.MsgInternal == PInvokeCore.WM_KEYDOWN && (Keys)(nint)m.WParamInternal != Keys.Tab) 1564if (!EditTextBox.Visible) 1972private bool GetScrollbarHidden() => _scrollBar is null || !ScrollBar.Visible; 2410if (!EditTextBox.Visible) 2421if (EditTextBox.Visible) 2559if (_dropDownHolder is not null && _dropDownHolder.Visible) 2747if (keyCode == Keys.Down && altPressed && DropDownButton.Visible) 2753if (keyCode == Keys.Up && altPressed && DropDownButton.Visible && (_dropDownHolder is not null) && _dropDownHolder.Visible) 2759if (ToolTip.Visible) 2942if (controlPressed && !altPressed && !shiftPressed && EditTextBox.Visible) 2961&& _dropDownHolder.Visible 3241if (ToolTip.Visible) 3523if (Visible && ParentInternal is not null) 3903if (DropDownButton.Visible) 3908else if (DialogButton.Visible) 3922if (!forward && EditTextBox.Visible) 4199bool editVisible = EditTextBox.Visible; 4200bool dropDownButtonVisible = DropDownButton.Visible; 4201bool dialogButtonVisible = DialogButton.Visible; 4511if (_selectedRow != -1 && row < _selectedRow && EditTextBox.Visible) 4813if (DialogButton.Visible) 4817else if (DropDownButton.Visible) 4821else if (EditTextBox.Visible) 4845bool hidden = !ScrollBar.Visible; 5078if (EditTextBox.Visible) 5083else if (_dropDownHolder is not null && _dropDownHolder.Visible) 5237if (DropDownButton.Visible || DialogButton.Visible || EditTextBox.Visible) 5242else if (EditTextBox.Focused && (DropDownButton.Visible || DialogButton.Visible)) 5338if (!InPropertySet && EditTextBox.Visible && (_errorState != ErrorState.None || !CommitEditTextBox())) 5367if (_editTextBox.Visible)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (4)
164while (Visible) 252if (_currentControl is not null && Visible) 668if (Visible && m.WParamInternal.LOWORD == PInvoke.WA_INACTIVE && !OwnsWindow(activatedWindow)) 677if (Visible)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObject.cs (1)
57private bool ExistsInAccessibleTree => _owningDropDownHolder.IsHandleCreated && _owningDropDownHolder.Visible;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridPositionData.cs (1)
34if (delta != 0 && gridView.ScrollBar.Visible)
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
473get => base.Visible;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
2533using (new LayoutTransaction(this, this, "ShowKeyboardFocusCues", resumeLayout: Visible)) 3667HookStaticEvents(Visible); 4004if ((control is not null) && control.Visible)
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (4)
157return BottomToolStripPanel.Visible; 275return LeftToolStripPanel.Visible; 302return RightToolStripPanel.Visible; 331return TopToolStripPanel.Visible;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
589Visible = ControlInternal.Visible;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
862get => base.Visible;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
1990get => (ParentInternal is not null) && (ParentInternal.Visible) && Available;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
302if (Owner.ParentInternal is not null && Owner.ParentInternal.Visible)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (2)
192toolStrip.Visible && 579if (toolStripPanel.IsHandleCreated && toolStripPanel.Visible &&
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (1)
397if (!Control.Visible)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.HorizontalRowManager.cs (1)
32if ((!ToolStripPanel.Visible || LayoutUtils.IsZeroWidthOrHeight(raftingDisplayRectangle)) && (ToolStripPanel.ParentInternal is not null))
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowManager.cs (2)
91if ((cell.Visible || (Row.ToolStripPanel.Visible && cell.ControlInDesignMode)) && cell.ToolStripPanelRow == Row) 102if ((cell.Visible || (Row.ToolStripPanel.Visible && cell.ControlInDesignMode)) && cell.ToolStripPanelRow == Row)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.VerticalRowManager.cs (1)
33if ((!ToolStripPanel.Visible || LayoutUtils.IsZeroWidthOrHeight(raftingDisplayRectangle)) && (ToolStripPanel.ParentInternal is not null))
System\Windows\Forms\Controls\ToolStrips\ToolStripRendererSwitcher.cs (2)
33if (owner.Visible) 155if (control.Visible)
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.SettingsStub.cs (1)
41Visible = toolStrip.Visible;
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
205HookStaticEvents(Visible);
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarChildAccessibleObject.cs (1)
50internal virtual bool IsDisplayed => this.TryGetOwnerAs(out TrackBar? trackbar) && trackbar.Visible;
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (3)
466if ((Visible && parent is not null && parent.Visible) || IsHandleCreated) 476if (Visible && !Disposing && !IsDisposed)
System\Windows\Forms\Design\ComponentEditorPage.cs (1)
191if (!Visible)
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.cs (1)
271_control.Visible && _control.ParentInternal is not null &&
System\Windows\Forms\Form.cs (19)
319if (mdiChild is not null && mdiChild.Visible && mdiChild.Enabled) 798if (Visible && (WindowState is FormWindowState.Maximized or FormWindowState.Normal)) 2132if (value == Visible && _dialogResult == DialogResult.OK) 2139if (value == Visible && (!value || CalledMakeVisible)) 2212if (ParentInternal is not null && ParentInternal.Visible) 2556if (IsHandleCreated && Visible) 2822if (Visible && IsHandleCreated) 3182if (_dialogResult == DialogResult.None && Visible) 3235return _dialogResult != DialogResult.None || !Visible; 3460if (mdiChild != this && mdiChild.Visible) 3810if (!GetStyle(ControlStyles.Selectable) || !Enabled || !Visible) 4190_formStateEx[s_formStateExUseMdiChildProc] = (IsMdiChild && Visible) ? 1 : 0; 4389&& Visible 5408/// Displays the form by setting its <see cref="Control.Visible"/> property to <see langword="true"/>. 5428/// This method makes the form visible by setting the <see cref="Control.Visible"/> property to <see langword="true"/>. 5448if (Visible) 5502/// Displays the form asynchronously, by setting its <see cref="Control.Visible"/> property to <see langword="true"/>. 5512/// This method makes the form visible by setting the <see cref="Control.Visible"/> property to <see langword="true"/>. 5669if (Visible)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (4)
625if (_activeControl is not null && _activeControl.Visible) 638while (containerControl is not null && !containerControl.Visible) 651if (containerControl is not null && containerControl.Visible) 1998if (!ActiveControl.Visible)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (3)
1940if (ctl is null || (ctl is SplitterPanel && ctl.Visible)) 1964if (ctl is null || (ctl is SplitterPanel && !ctl.Visible)) 1980if (ctl is null || (ctl.ParentInternal is not null && !ctl.ParentInternal.Visible))
System\Windows\Forms\MDI\MDIClient.cs (1)
349if (childForm is not null && childForm.Visible)
System\Windows\Forms\MDI\MDIWindowDialog.cs (1)
47if (all[i].Visible)
System\Windows\Forms\MDI\MdiWindowListStrip.cs (1)
103if (forms[i].Visible && (forms[i].CloseReason == CloseReason.None))
System\Windows\Forms\Panels\SplitterPanel.cs (1)
262get => base.Visible;
System\Windows\Forms\Printing\PrintPreviewControl.cs (13)
443if (_hScrollBar.Visible) 448if (_vScrollBar.Visible) 707if (!_hScrollBar.Visible || !_vScrollBar.Visible) 796bool scrollBarsVisibilityChanged = (_vScrollBar.Visible ^ verticalScrollNeeded) || (_hScrollBar.Visible ^ horizontalScrollNeeded); 908bool scrollVisible = _vScrollBar.Visible || _hScrollBar.Visible; 909bool vertical = _vScrollBar.Visible; 997if (_vScrollBar.Visible) 1015if (_vScrollBar.Visible) 1035if (_hScrollBar.Visible) 1053if (_hScrollBar.Visible)
System\Windows\Forms\Printing\PrintPreviewControl.PrintPreviewControlAccessibleObject.cs (23)
35return owner._vScrollBar.Visible 36? owner._hScrollBar.Visible ? 2 : 1 37: owner._hScrollBar.Visible ? 1 : 0; 490 => owner._vScrollBar.Visible ? owner._vScrollBar.AccessibilityObject 50: owner._hScrollBar.Visible ? owner._hScrollBar.AccessibilityObject : null, 521 => owner._vScrollBar.Visible && owner._hScrollBar.Visible ? owner._hScrollBar.AccessibilityObject : null, 64&& (owner._vScrollBar.Visible || owner._hScrollBar.Visible), 80=> owner._vScrollBar.Visible 82: owner._hScrollBar.Visible 86=> owner._hScrollBar.Visible 88: owner._vScrollBar.Visible 103if (owner._hScrollBar.Visible && horizontalAmount != ScrollAmount.ScrollAmount_NoAmount) 126if (owner._vScrollBar.Visible && verticalAmount != ScrollAmount.ScrollAmount_NoAmount) 160if (owner._hScrollBar.Visible && horizontalPercent >= 0 && horizontalPercent <= 100) 166if (owner._vScrollBar.Visible && verticalPercent >= 0 && verticalPercent <= 100) 179if (this.TryGetOwnerAs(out PrintPreviewControl? owner) && owner._hScrollBar.Visible) 193if (this.TryGetOwnerAs(out PrintPreviewControl? owner) && owner._vScrollBar.Visible) 204&& owner._hScrollBar.Visible ? owner.HorizontalViewSize : 100; 207&& owner._vScrollBar.Visible ? owner.VerticalViewSize : 100; 210this.TryGetOwnerAs(out PrintPreviewControl? owner) && owner._hScrollBar.Visible; 213this.TryGetOwnerAs(out PrintPreviewControl? owner) && owner._vScrollBar.Visible;
System\Windows\Forms\Printing\PrintPreviewControl.ScrollBarAccessibleObject.cs (4)
34=> printPreviewControl._vScrollBar.Visible && 35printPreviewControl._hScrollBar.Visible && 40=> printPreviewControl._hScrollBar.Visible && 41printPreviewControl._vScrollBar.Visible &&
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
525get => base.Visible;
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
692if (Visible)
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarChildAccessibleObject.cs (1)
61internal virtual bool IsDisplayed => OwningScrollBar.Visible;
System\Windows\Forms\ToolTip\ToolTip.cs (1)
1097while (current is not null && current.Visible)
System.Windows.Forms.Design (45)
System\ComponentModel\Design\ByteViewer.cs (1)
651if (_linesCount > _rowCount && !_scrollBar.Visible)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
750if (!Visible)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (4)
79if (_hostedControl is not null && Visible) 88while (Visible) 161if (parent is not null && parent.Visible) 171&& Visible
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (2)
150else if (!Visible) 219if (Visible)
System\Windows\Forms\Design\Behavior\ControlBodyGlyph.cs (1)
56bool isVisible = _component is not Control control || control.Visible;
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (1)
479!control.Visible)
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (1)
224if (_relatedPanel!.Visible && _image is not null && _glyphBounds != Rectangle.Empty && baseParentBounds.Contains(_glyphBounds))
System\Windows\Forms\Design\ComponentTray.cs (8)
190if (shouldDisplay != control.Visible || !shouldDisplay) 367if (!ctl.Visible) 1440if (c is not null && c.Visible) 1561if (c.Visible) 1740Debug.Assert(c.Visible, $"TrayControl for {c.Component} should not be positioned"); 1796Debug.Assert(Visible == c.Visible, $"TrayControl for {((TrayControl)c).Component} should not be positioned"); 1805Debug.Assert(c.Visible, $"TrayControl for {c.Component} should not be positioned");
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
614if (Visible && IsHandleCreated)
System\Windows\Forms\Design\DesignBindingPicker.cs (3)
1620else if (_addNewPanel.Visible) 1650if (Visible) 1777if (_inSelectNode || !Visible)
System\Windows\Forms\Design\FormatControl.cs (3)
185Debug.Assert(decimalPlacesUpDown.Visible); 197Debug.Assert(dateTimeFormatsListBox.Visible); 209Debug.Assert(_customStringTextBox.Visible);
System\Windows\Forms\Design\PanelDesigner.cs (1)
31if (panel is null || !panel.Visible)
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
878if (child.Visible && ((containRect && rect.Contains(bounds)) || (!containRect && bounds.IntersectsWith(rect))) &&
System\Windows\Forms\Design\SelectionUIService.cs (3)
113_savedVisible = Visible; 878get => Visible; 964_savedVisible = Visible;
System\Windows\Forms\Design\TabOrder.cs (1)
441if (!c.Visible)
System\Windows\Forms\Design\ToolStripDesigner.cs (7)
419if (ToolStrip.Visible != value && !SelectionService.GetComponentSelected(ToolStrip)) 1250if (TryGetService(out SelectionManager selectionManager) && ToolStrip is not null && CanAddItems && ToolStrip.Visible) 1376if (_miniToolStrip is not null && _miniToolStrip.Visible && AddItemRect.Contains(point)) 2194if (sender is ToolStrip tool && !tool.Visible) 2364if (!_currentVisible || !Control.Visible) 2369if (ToolStrip.Parent is ToolStripPanel && !ToolStrip.Parent.Visible) 2496if (_miniToolStrip is not null && _miniToolStrip.Visible)
System\Windows\Forms\Design\ToolStripInSituService.cs (2)
206hWnd = (_toolDesigner.Editor.EditBox.Visible) ? _toolDesigner.Editor.EditBox.Handle : hWnd; 210hWnd = (_toolItemDesigner.Editor.EditBox.Visible) ? _toolItemDesigner.Editor.EditBox.Handle : hWnd;
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
569if (parent is not null && parent.Visible)
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
2118if (IsOnContextMenu && !MenuItem.Owner.Visible)
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (2)
291return Control.Visible ? _containerSelectorGlyph : null; 544nameof(ToolStripPanel.Visible),
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (1)
951OnPropertyChanged("Visible", this.Visible);
System\Windows\Integration\ElementHostPropertyMap.cs (1)
67if (parent != null && parent.Visible)