82 writes to Visibility
Microsoft.CodeAnalysis.EditorFeatures.Wpf (3)
InlineRename\UI\Dashboard\RenameDashboard.xaml.cs (1)
132((UIElement)_textView.Caret).Visibility = Visibility.Visible;
Preview\PreviewFactoryService.cs (2)
103host.GetTextViewMargin(DiffOverviewMarginName).VisualElement.Visibility = Visibility.Collapsed; 104host.GetTextViewMargin(PredefinedMarginNames.Bottom).VisualElement.Visibility = Visibility.Collapsed;
Microsoft.VisualStudio.LanguageServices (13)
EditorConfigSettings\SettingsEditorControl.xaml.cs (2)
137prevFrame.Visibility = Visibility.Hidden; 138currentFrame.Visibility = Visibility.Visible;
InheritanceMargin\InheritanceMarginViewMargin.cs (1)
137_mainCanvas.Visibility =
PreviewPane\PreviewPane.xaml.cs (8)
68HeaderStackPanel.Visibility = Visibility.Visible; 97OptionsButton.Visibility = Visibility.Collapsed; 139HeaderSeparator.Visibility = Visibility.Visible; 140PreviewDockPanel.Visibility = Visibility.Visible; 320ExpanderToggleButton.Visibility = Visibility.Visible; 402DescriptionDockPanel.Visibility = Visibility.Visible; 406LearnMoreTextBlock.Visibility = Visibility.Visible; 418DescriptionDockPanel.Visibility = Visibility.Collapsed;
ValueTracking\ValueTrackingRoot.xaml.cs (2)
29EmptyTextMessage.Visibility = Visibility.Visible; 33EmptyTextMessage.Visibility = Visibility.Collapsed;
PresentationFramework (35)
MS\Internal\Controls\TemplatedAdorner.cs (1)
176this.Visibility = desired;
MS\Internal\Documents\DocumentViewerHelper.cs (2)
47findToolBarHost.Visibility = Visibility.Visible; 66findToolBarHost.Visibility = Visibility.Collapsed;
System\Windows\Application.cs (1)
2343w.Visibility = Visibility.Visible;
System\Windows\Controls\FlowDocumentScrollViewer.cs (3)
109_toolBarHost.Visibility = IsToolBarVisible ? Visibility.Visible : Visibility.Collapsed; 936_toolBarHost.Visibility = enable ? Visibility.Visible : Visibility.Collapsed; 1754viewer._toolBarHost.Visibility = (bool)e.NewValue ? Visibility.Visible : Visibility.Collapsed;
System\Windows\Controls\GridViewHeaderRowPresenter.cs (7)
478_indicator.Visibility = _floatingHeader.Visibility = isDisplayingFloatingHeader ? Visibility.Visible : Visibility.Hidden; 1139indicator.Visibility = Visibility.Hidden; 1193header.Visibility = Visibility.Hidden; 1211_floatingHeader.Visibility = Visibility.Hidden; 1545_floatingHeader.Visibility = Visibility.Hidden; 1548_indicator.Visibility = Visibility.Hidden;
System\Windows\Controls\Primitives\CalendarItem.cs (5)
1077childButton.Visibility = Visibility.Visible; 1083childButton.Visibility = Visibility.Hidden; 1126childButton.Visibility = Visibility.Hidden; 1252childButton.Visibility = Visibility.Visible; 1296childButton.Visibility = Visibility.Visible;
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (4)
516_leftGripper.Visibility = Visibility.Visible; 520_leftGripper.Visibility = Visibility.Collapsed; 534_rightGripper.Visibility = Visibility.Visible; 538_rightGripper.Visibility = Visibility.Collapsed;
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (4)
555_columnHeaderDragIndicator.Visibility = dragIndicatorVisibility; 560_columnHeaderDropLocationIndicator.Visibility = dragIndicatorVisibility; 821_columnHeaderDragIndicator.Visibility = Visibility.Collapsed; 833_columnHeaderDropLocationIndicator.Visibility = Visibility.Collapsed;
System\Windows\Controls\Primitives\DataGridRowHeader.cs (4)
651_topGripper.Visibility = Visibility.Visible; 655_topGripper.Visibility = Visibility.Collapsed; 667_bottomGripper.Visibility = Visibility.Visible; 671_bottomGripper.Visibility = Visibility.Collapsed;
System\Windows\Controls\Primitives\Track.cs (2)
653Visibility = Visibility.Hidden; 664Visibility = Visibility.Visible;
System\Windows\Documents\FixedPage.cs (2)
127path.Visibility = Visibility.Visible; 131path.Visibility = Visibility.Hidden;
PresentationUI (15)
InstallationError.xaml.cs (5)
87RetryButton.Visibility = Visibility.Visible; 92RetryButton.Visibility = Visibility.Collapsed; 96GetWinFXButton.Visibility = Visibility.Visible; 133SupportUriText.Visibility = Visibility.Visible; 178LogFileButton.Visibility = Visibility.Visible;
MS\Internal\Documents\Application\StatusInfoItem.cs (1)
78_infoBarButton.Visibility = value;
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
1223uie.Visibility = Visibility.Visible; 1227uie.Visibility = Visibility.Collapsed;
MS\Internal\Documents\FindToolBar.xaml.cs (2)
219FindTextLabel.Visibility = Visibility.Hidden; 223FindTextLabel.Visibility = Visibility.Visible;
TenFeetInstallationError.xaml.cs (5)
89RetryButton.Visibility = Visibility.Visible; 96RetryButton.Visibility = Visibility.Collapsed; 100GetWinFXButton.Visibility = Visibility.Visible; 137SupportUriText.Visibility = Visibility.Visible; 182LogFileButton.Visibility = Visibility.Visible;
Roslyn.VisualStudio.DiagnosticsWindow (2)
OptionPages\InternalOptionsControl.cs (2)
58item.Visibility = Visibility.Collapsed; 62item.Visibility = Visibility.Visible;
System.Windows.Controls.Ribbon (13)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
2377category.Visibility = Visibility.Visible; 2381category.Visibility = Visibility.Collapsed;
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (2)
1155_itemsPresenter.Visibility = itemsPresenterVisibility; 1164_templateContentControl.Visibility = (itemsPresenterVisibility == Visibility.Visible ? Visibility.Collapsed : Visibility.Visible);
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (8)
274_textBlock1.Visibility = Visibility.Collapsed; 278_textBlock2.Visibility = Visibility.Visible; 306_textBlock1.Visibility = Visibility.Visible; 311_textBlock2.Visibility = Visibility.Visible; 320_textBlock1.Visibility = Visibility.Visible; 324_textBlock2.Visibility = Visibility.Collapsed; 343_textBlock1.Visibility = Visibility.Visible; 379_textBlock1.Visibility = Visibility.Visible;
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (1)
309_icon.Visibility = newVisibility;
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
196adapter.Visibility = toVisibility;
55 references to Visibility
PresentationCore (10)
MS\Internal\Automation\ElementUtil.cs (1)
260if ( !(sibling is UIElement) || (((UIElement)sibling).Visibility == Visibility.Visible ) )
System\Windows\Input\AccessKeyManager.cs (1)
508visibility = uiElem.Visibility;
System\Windows\LayoutManager.cs (1)
904if (p != null && p.Visibility != Visibility.Collapsed) //not yet a root or a collapsed node
System\Windows\UIElement.cs (7)
178if(this.Visibility == Visibility.Collapsed) 590switchVisibilityIfNeeded(this.Visibility); 600if (this.Visibility == Visibility.Collapsed 813if (this.Visibility == Visibility.Collapsed 1306if (this.Visibility == Visibility.Collapsed) 2698if(this.Visibility == Visibility.Visible) 3839bool isVisible = (Visibility == Visibility.Visible);
PresentationFramework (19)
MS\Internal\Controls\TemplatedAdorner.cs (1)
174if (desired != this.Visibility)
MS\Internal\Ink\InkCanvasSelection.cs (2)
880Debug.Assert(_inkCanvas.SelectionAdorner.Visibility == Visibility.Visible, 887Debug.Assert(_inkCanvas.SelectionAdorner.Visibility == Visibility.Collapsed,
MS\Internal\Ink\LassoSelectionBehavior.cs (1)
392if (childElement.Visibility != Visibility.Visible)
System\Windows\Application.cs (1)
1730if (window.Visibility != Visibility.Visible)
System\Windows\Controls\DataGridRow.cs (1)
1346get { return _detailsPresenter != null && _detailsPresenter.Visibility == Visibility.Visible; }
System\Windows\Controls\Primitives\TabPanel.cs (6)
97if (child.Visibility == Visibility.Collapsed) 141if (child.Visibility == Visibility.Collapsed) 215if (child.Visibility == Visibility.Collapsed) 253if (child.Visibility == Visibility.Collapsed) 302if (child.Visibility != Visibility.Collapsed) 322if (child.Visibility == Visibility.Collapsed)
System\Windows\Controls\Primitives\Track.cs (2)
651if (Visibility != Visibility.Hidden) 662else if (Visibility != Visibility.Visible)
System\Windows\Controls\Primitives\UniformGrid.cs (2)
214if (child.Visibility != Visibility.Collapsed) 266if (child.Visibility != Visibility.Collapsed)
System\Windows\Controls\TabControl.cs (1)
462if (tabItem != null && tabItem.IsEnabled && tabItem.Visibility == Visibility.Visible)
System\Windows\Generated\FrameworkElement.cs (1)
447if (Visibility == Visibility.Collapsed)
System\Windows\Interop\ActiveXHost.cs (1)
859switch (axHost.Visibility)
PresentationUI (2)
MS\Internal\Documents\Application\StatusInfoItem.cs (1)
74return _infoBarButton.Visibility;
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
1208ChangeControlVisibility(uie, uie.Visibility == Visibility.Collapsed);
Roslyn.VisualStudio.DiagnosticsWindow (2)
OptionPages\InternalOptionsControl.cs (2)
83checkAllButton.Click += (o, a) => optionsPanel.Children.OfType<CheckBox>().Where(c => c.Visibility == Visibility.Visible).Do(c => c.IsChecked = true); 86uncheckAllButton.Click += (o, a) => optionsPanel.Children.OfType<CheckBox>().Where(c => c.Visibility == Visibility.Visible).Do(c => c.IsChecked = false);
System.Windows.Controls.Ribbon (20)
Microsoft\Windows\Controls\KeyTipService.cs (1)
1360uie.Visibility != Visibility.Visible)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (2)
51if (tabGroupHeader.Visibility == Visibility.Visible && tabGroupHeader.FirstVisibleTab != null && DoubleUtil.GreaterThanOrClose(remainingSpace, 0.0)) 143if (tabGroupHeader.Visibility == Visibility.Visible && tabGroupHeader.ArrangeWidth > 0)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTitlePanel.cs (4)
64if (groupHeaderItemsControl != null && groupHeaderItemsControl.Visibility == Visibility.Visible) 101if (qat.Visibility == Visibility.Visible) 181if (tabGroups != null && tabGroups.Visibility == Visibility.Visible) 267if (tab.Visibility == Visibility.Visible && tab.RibbonTabHeader != null)
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (1)
237if (tab.Visibility == Visibility.Visible)
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (1)
189if (tab != null && tab.Visibility == Visibility.Visible)
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (2)
110if (ribbonControl != null && ribbonControl.Visibility != Visibility.Collapsed) 113if (contentChild != null && contentChild.Visibility != Visibility.Collapsed)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
1153if (_itemsPresenter != null && _itemsPresenter.Visibility != itemsPresenterVisibility)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
713return container != null && container.Visibility == Visibility.Visible; 799if (category.Visibility != Visibility.Visible)
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (2)
614ribbonControl.Visibility == Visibility.Visible && 619contentChild.Visibility == Visibility.Visible &&
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
655contextualVisibility = tab.ContextualTabGroup.Visibility;
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
517return tab.Visibility;
Microsoft\Windows\Controls\TextSearchInternal.cs (2)
143if (childItemsControl != null && childItemsControl.Visibility == Visibility.Visible) 504if (childItemsControl != null && childItemsControl.Visibility == Visibility.Visible)
WindowsFormsIntegration (2)
System\Windows\Integration\WindowsFormsHost.cs (2)
238if (this.Visibility == Visibility.Collapsed || Child == null) 269if (this.Visibility == Visibility.Collapsed || Child == null)