86 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;
Microsoft.VisualStudio.LanguageServices.CSharp (2)
Options\AdvancedOptionPageControl.xaml.cs (2)
233Customized_Theme_Warning.Visibility = isSupportedTheme && isThemeCustomized ? Visibility.Visible : Visibility.Collapsed; 234Custom_VS_Theme_Warning.Visibility = isSupportedTheme ? Visibility.Collapsed : Visibility.Visible;
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)
Options\AdvancedOptionPageControl.xaml.vb (2)
223Customized_Theme_Warning.Visibility = If(isSupportedTheme AndAlso isCustomized, Visibility.Visible, Visibility.Collapsed) 224Custom_VS_Theme_Warning.Visibility = If(isSupportedTheme, Visibility.Collapsed, Visibility.Visible)
PresentationFramework (35)
MS\Internal\Controls\TemplatedAdorner.cs (1)
183this.Visibility = desired;
MS\Internal\Documents\DocumentViewerHelper.cs (2)
49findToolBarHost.Visibility = Visibility.Visible; 68findToolBarHost.Visibility = Visibility.Collapsed;
System\Windows\Application.cs (1)
2356w.Visibility = Visibility.Visible;
System\Windows\Controls\FlowDocumentScrollViewer.cs (3)
112_toolBarHost.Visibility = IsToolBarVisible ? Visibility.Visible : Visibility.Collapsed; 939_toolBarHost.Visibility = enable ? Visibility.Visible : Visibility.Collapsed; 1757viewer._toolBarHost.Visibility = (bool)e.NewValue ? Visibility.Visible : Visibility.Collapsed;
System\Windows\Controls\GridViewHeaderRowPresenter.cs (7)
481_indicator.Visibility = _floatingHeader.Visibility = isDisplayingFloatingHeader ? Visibility.Visible : Visibility.Hidden; 1142indicator.Visibility = Visibility.Hidden; 1196header.Visibility = Visibility.Hidden; 1214_floatingHeader.Visibility = Visibility.Hidden; 1548_floatingHeader.Visibility = Visibility.Hidden; 1551_indicator.Visibility = Visibility.Hidden;
System\Windows\Controls\Primitives\CalendarItem.cs (5)
1082childButton.Visibility = Visibility.Visible; 1088childButton.Visibility = Visibility.Hidden; 1131childButton.Visibility = Visibility.Hidden; 1257childButton.Visibility = Visibility.Visible; 1301childButton.Visibility = Visibility.Visible;
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (4)
521_leftGripper.Visibility = Visibility.Visible; 525_leftGripper.Visibility = Visibility.Collapsed; 539_rightGripper.Visibility = Visibility.Visible; 543_rightGripper.Visibility = Visibility.Collapsed;
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (4)
560_columnHeaderDragIndicator.Visibility = dragIndicatorVisibility; 565_columnHeaderDropLocationIndicator.Visibility = dragIndicatorVisibility; 826_columnHeaderDragIndicator.Visibility = Visibility.Collapsed; 838_columnHeaderDropLocationIndicator.Visibility = Visibility.Collapsed;
System\Windows\Controls\Primitives\DataGridRowHeader.cs (4)
656_topGripper.Visibility = Visibility.Visible; 660_topGripper.Visibility = Visibility.Collapsed; 672_bottomGripper.Visibility = Visibility.Visible; 676_bottomGripper.Visibility = Visibility.Collapsed;
System\Windows\Controls\Primitives\Track.cs (2)
664Visibility = Visibility.Hidden; 675Visibility = Visibility.Visible;
System\Windows\Documents\FixedPage.cs (2)
135path.Visibility = Visibility.Visible; 139path.Visibility = Visibility.Hidden;
PresentationUI (15)
InstallationError.xaml.cs (5)
91RetryButton.Visibility = Visibility.Visible; 96RetryButton.Visibility = Visibility.Collapsed; 100GetWinFXButton.Visibility = Visibility.Visible; 137SupportUriText.Visibility = Visibility.Visible; 182LogFileButton.Visibility = Visibility.Visible;
MS\Internal\Documents\Application\StatusInfoItem.cs (1)
81_infoBarButton.Visibility = value;
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
1230uie.Visibility = Visibility.Visible; 1234uie.Visibility = Visibility.Collapsed;
MS\Internal\Documents\FindToolBar.xaml.cs (2)
231FindTextLabel.Visibility = Visibility.Hidden; 235FindTextLabel.Visibility = Visibility.Visible;
TenFeetInstallationError.xaml.cs (5)
93RetryButton.Visibility = Visibility.Visible; 100RetryButton.Visibility = Visibility.Collapsed; 104GetWinFXButton.Visibility = Visibility.Visible; 141SupportUriText.Visibility = Visibility.Visible; 186LogFileButton.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)
2379category.Visibility = Visibility.Visible; 2383category.Visibility = Visibility.Collapsed;
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (2)
1158_itemsPresenter.Visibility = itemsPresenterVisibility; 1167_templateContentControl.Visibility = (itemsPresenterVisibility == Visibility.Visible ? Visibility.Collapsed : Visibility.Visible);
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (8)
277_textBlock1.Visibility = Visibility.Collapsed; 281_textBlock2.Visibility = Visibility.Visible; 309_textBlock1.Visibility = Visibility.Visible; 314_textBlock2.Visibility = Visibility.Visible; 323_textBlock1.Visibility = Visibility.Visible; 327_textBlock2.Visibility = Visibility.Collapsed; 346_textBlock1.Visibility = Visibility.Visible; 382_textBlock1.Visibility = Visibility.Visible;
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (1)
314_icon.Visibility = newVisibility;
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
198adapter.Visibility = toVisibility;
55 references to Visibility
PresentationCore (10)
MS\Internal\Automation\ElementUtil.cs (1)
275if ( !(sibling is UIElement) || (((UIElement)sibling).Visibility == Visibility.Visible ) )
System\Windows\Input\AccessKeyManager.cs (1)
520visibility = uiElem.Visibility;
System\Windows\LayoutManager.cs (1)
920if (p != null && p.Visibility != Visibility.Collapsed) //not yet a root or a collapsed node
System\Windows\UIElement.cs (7)
183if(this.Visibility == Visibility.Collapsed) 595switchVisibilityIfNeeded(this.Visibility); 605if (this.Visibility == Visibility.Collapsed 818if (this.Visibility == Visibility.Collapsed 1311if (this.Visibility == Visibility.Collapsed) 2703if(this.Visibility == Visibility.Visible) 3844bool isVisible = (Visibility == Visibility.Visible);
PresentationFramework (19)
MS\Internal\Controls\TemplatedAdorner.cs (1)
181if (desired != this.Visibility)
MS\Internal\Ink\InkCanvasSelection.cs (2)
892Debug.Assert(_inkCanvas.SelectionAdorner.Visibility == Visibility.Visible, 899Debug.Assert(_inkCanvas.SelectionAdorner.Visibility == Visibility.Collapsed,
MS\Internal\Ink\LassoSelectionBehavior.cs (1)
401if (childElement.Visibility != Visibility.Visible)
System\Windows\Application.cs (1)
1743if (window.Visibility != Visibility.Visible)
System\Windows\Controls\DataGridRow.cs (1)
1350get { return _detailsPresenter != null && _detailsPresenter.Visibility == Visibility.Visible; }
System\Windows\Controls\Primitives\TabPanel.cs (6)
105if (child.Visibility == Visibility.Collapsed) 149if (child.Visibility == Visibility.Collapsed) 223if (child.Visibility == Visibility.Collapsed) 261if (child.Visibility == Visibility.Collapsed) 310if (child.Visibility != Visibility.Collapsed) 330if (child.Visibility == Visibility.Collapsed)
System\Windows\Controls\Primitives\Track.cs (2)
662if (Visibility != Visibility.Hidden) 673else if (Visibility != Visibility.Visible)
System\Windows\Controls\Primitives\UniformGrid.cs (2)
222if (child.Visibility != Visibility.Collapsed) 274if (child.Visibility != Visibility.Collapsed)
System\Windows\Controls\TabControl.cs (1)
472if (tabItem != null && tabItem.IsEnabled && tabItem.Visibility == Visibility.Visible)
System\Windows\Generated\FrameworkElement.cs (1)
453if (Visibility == Visibility.Collapsed)
System\Windows\Interop\ActiveXHost.cs (1)
869switch (axHost.Visibility)
PresentationUI (2)
MS\Internal\Documents\Application\StatusInfoItem.cs (1)
77return _infoBarButton.Visibility;
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
1215ChangeControlVisibility(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)
1362uie.Visibility != Visibility.Visible)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (2)
56if (tabGroupHeader.Visibility == Visibility.Visible && tabGroupHeader.FirstVisibleTab != null && DoubleUtil.GreaterThanOrClose(remainingSpace, 0.0)) 148if (tabGroupHeader.Visibility == Visibility.Visible && tabGroupHeader.ArrangeWidth > 0)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTitlePanel.cs (4)
68if (groupHeaderItemsControl != null && groupHeaderItemsControl.Visibility == Visibility.Visible) 105if (qat.Visibility == Visibility.Visible) 185if (tabGroups != null && tabGroups.Visibility == Visibility.Visible) 271if (tab.Visibility == Visibility.Visible && tab.RibbonTabHeader != null)
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (1)
239if (tab.Visibility == Visibility.Visible)
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (1)
191if (tab != null && tab.Visibility == Visibility.Visible)
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (2)
113if (ribbonControl != null && ribbonControl.Visibility != Visibility.Collapsed) 116if (contentChild != null && contentChild.Visibility != Visibility.Collapsed)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
1156if (_itemsPresenter != null && _itemsPresenter.Visibility != itemsPresenterVisibility)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
718return container != null && container.Visibility == Visibility.Visible; 804if (category.Visibility != Visibility.Visible)
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (2)
619ribbonControl.Visibility == Visibility.Visible && 624contentChild.Visibility == Visibility.Visible &&
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
657contextualVisibility = tab.ContextualTabGroup.Visibility;
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
519return tab.Visibility;
Microsoft\Windows\Controls\TextSearchInternal.cs (2)
146if (childItemsControl != null && childItemsControl.Visibility == Visibility.Visible) 507if (childItemsControl != null && childItemsControl.Visibility == Visibility.Visible)
WindowsFormsIntegration (2)
System\Windows\Integration\WindowsFormsHost.cs (2)
240if (this.Visibility == Visibility.Collapsed || Child == null) 271if (this.Visibility == Visibility.Collapsed || Child == null)