195 references to Visible
Microsoft.CodeAnalysis.EditorFeatures.Wpf (5)
InlineRename\UI\Adornment\RenameFlyoutViewModel.cs (1)
70=> Visibility = this.Session.IsCommitInProgress ? Visibility.Collapsed : Visibility.Visible;
InlineRename\UI\Dashboard\RenameDashboard.xaml.cs (1)
132((UIElement)_textView.Caret).Visibility = Visibility.Visible;
InlineRename\UI\Dashboard\RenameDashboardViewModel.cs (2)
61? Visibility.Visible : Visibility.Collapsed; 270=> Session.HasRenameOverloads ? Visibility.Visible : Visibility.Collapsed;
QuickInfo\OnTheFlyDocsViewStateVisibilityConverter.cs (1)
18=> value is OnTheFlyDocsState state && parameter is OnTheFlyDocsState targetState && state == targetState ? Visibility.Visible : Visibility.Collapsed;
Microsoft.VisualStudio.LanguageServices (23)
ChangeSignature\AddParameterDialogViewModel.cs (6)
31TypeIsEmptyImage = Visibility.Visible; 190TypeIsEmptyImage = Visibility.Visible; 208TypeDoesNotParseOrInvalidTypeImage = Visibility.Visible; 215TypeDoesNotParseOrInvalidTypeImage = Visibility.Visible; 225TypeBindsImage = parameterTypeBinds ? Visibility.Visible : Visibility.Collapsed; 226TypeDoesNotBindImage = !parameterTypeBinds ? Visibility.Visible : Visibility.Collapsed;
ChangeSignature\ChangeSignatureDialogViewModel.cs (1)
132matchingParameter.HasParameterNameConflict = Visibility.Visible;
ChangeSignature\ChangeSignatureDialogViewModel.ParameterViewModels.cs (1)
111public override Visibility TypeWarningVisibility => _addedParameter.TypeBinds ? Visibility.Collapsed : Visibility.Visible;
CommonControls\MemberSelection.xaml.cs (1)
48AbstractColumn.Visibility = ViewModel.ShowMakeAbstract ? Visibility.Visible : Visibility.Collapsed;
DocumentOutline\DocumentOutlineViewModel.cs (4)
59private Visibility _visibility_doNotAccessDirectly = Visibility.Visible; 268if (Visibility != Visibility.Visible) 287if (Visibility != Visibility.Visible) 340if (Visibility != Visibility.Visible)
EditorConfigSettings\SettingsEditorControl.xaml.cs (1)
138currentFrame.Visibility = Visibility.Visible;
InheritanceMargin\InheritanceMarginViewMargin.cs (1)
139!_globalOptions.GetOption(InheritanceMarginOptionsStorage.InheritanceMarginCombinedWithIndicatorMargin) ? Visibility.Visible : Visibility.Collapsed;
PreviewPane\PreviewPane.xaml.cs (6)
68HeaderStackPanel.Visibility = Visibility.Visible; 139HeaderSeparator.Visibility = Visibility.Visible; 140PreviewDockPanel.Visibility = Visibility.Visible; 320ExpanderToggleButton.Visibility = Visibility.Visible; 402DescriptionDockPanel.Visibility = Visibility.Visible; 406LearnMoreTextBlock.Visibility = Visibility.Visible;
Utilities\MemberSymbolViewModel.cs (1)
27public Visibility MakeAbstractVisibility => Symbol.Kind == SymbolKind.Field || Symbol.IsAbstract ? Visibility.Hidden : Visibility.Visible;
ValueTracking\ValueTrackingRoot.xaml.cs (1)
29EmptyTextMessage.Visibility = Visibility.Visible;
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.UnitTests (5)
ChangeSignature\AddParameterViewModelTests.vb (5)
257Assert.True(viewModel.TypeIsEmptyImage = If(NameOf(viewModel.TypeIsEmptyImage) = currentIcon, Visibility.Visible, Visibility.Collapsed)) 258Assert.True(viewModel.TypeDoesNotParseOrInvalidTypeImage = If(NameOf(viewModel.TypeDoesNotParseOrInvalidTypeImage) = currentIcon, Visibility.Visible, Visibility.Collapsed)) 259Assert.True(viewModel.TypeDoesNotBindImage = If(NameOf(viewModel.TypeDoesNotBindImage) = currentIcon, Visibility.Visible, Visibility.Collapsed)) 260Assert.True(viewModel.TypeBindsImage = If(NameOf(viewModel.TypeBindsImage) = currentIcon, Visibility.Visible, Visibility.Collapsed)) 268Assert.True(viewModel.TypeIsEmptyImage = 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)
PresentationCore (17)
MS\Internal\Automation\ElementUtil.cs (1)
275if ( !(sibling is UIElement) || (((UIElement)sibling).Visibility == Visibility.Visible ) )
MS\Internal\KnownBoxes.cs (2)
31internal static object VisibleBox = Visibility.Visible; 37if (value == Visibility.Visible)
System\Windows\Input\AccessKeyManager.cs (1)
527if (visibility != Visibility.Visible)
System\Windows\UIElement.cs (7)
2703if(this.Visibility == Visibility.Visible) 2977return (value == Visibility.Visible) || (value == Visibility.Hidden) || (value == Visibility.Collapsed); 2994case Visibility.Visible: 3844bool isVisible = (Visibility == Visibility.Visible); 4139return Visibility.Visible; 4152Debug.Assert(value == Visibility.Visible || value == Visibility.Hidden || value == Visibility.Collapsed); 4156case Visibility.Visible:
System\Windows\UIElement3D.cs (6)
677return (value == Visibility.Visible) || (value == Visibility.Hidden) || (value == Visibility.Collapsed); 694case Visibility.Visible: 1065bool isVisible = (Visibility == Visibility.Visible); 1334return Visibility.Visible; 1347Debug.Assert(value == Visibility.Visible || value == Visibility.Hidden || value == Visibility.Collapsed); 1351case Visibility.Visible:
PresentationFramework (69)
MS\Internal\Controls\TemplatedAdorner.cs (1)
180Visibility desired = AdornedElement.IsVisible ? Visibility.Visible : Visibility.Collapsed;
MS\Internal\Documents\DocumentViewerHelper.cs (1)
49findToolBarHost.Visibility = Visibility.Visible;
MS\Internal\Ink\InkCanvasSelection.cs (1)
892Debug.Assert(_inkCanvas.SelectionAdorner.Visibility == Visibility.Visible,
MS\Internal\Ink\LassoSelectionBehavior.cs (1)
401if (childElement.Visibility != Visibility.Visible)
System\Windows\Application.cs (2)
1743if (window.Visibility != Visibility.Visible) 2356w.Visibility = Visibility.Visible;
System\Windows\Controls\BooleanToVisibilityConverter.cs (2)
45return (bValue) ? Visibility.Visible : Visibility.Collapsed; 60return (Visibility)value == Visibility.Visible;
System\Windows\Controls\DataGrid.cs (5)
1154if (row.DetailsVisibility == Visibility.Visible && row.DetailsPresenter != null) 1336return SelectedItems.Contains(item) ? Visibility.Visible : Visibility.Collapsed; 1338return Visibility.Visible; 3792_placeholderVisibility = Visibility.Visible; 3967row.DetailsVisibility == Visibility.Visible &&
System\Windows\Controls\DataGridColumn.cs (4)
1511new FrameworkPropertyMetadata(Visibility.Visible, new PropertyChangedCallback(OnVisibilityPropertyChanged))); 1530if (oldVisibility != Visibility.Visible && newVisibility != Visibility.Visible) 1548return Visibility == Visibility.Visible;
System\Windows\Controls\DataGridHeadersVisibilityToVisibilityConverter.cs (1)
54return visible ? Visibility.Visible : Visibility.Collapsed;
System\Windows\Controls\DataGridRow.cs (3)
731visibility = hasDetailsTemplate && isRealItem ? Visibility.Visible : Visibility.Collapsed; 734visibility = row.IsSelected && hasDetailsTemplate && isRealItem ? Visibility.Visible : Visibility.Collapsed; 1350get { return _detailsPresenter != null && _detailsPresenter.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 (1)
481_indicator.Visibility = _floatingHeader.Visibility = isDisplayingFloatingHeader ? Visibility.Visible : Visibility.Hidden;
System\Windows\Controls\InkCanvas.cs (1)
3020return Visibility.Visible;
System\Windows\Controls\MenuScrollingVisibilityConverter.cs (2)
70if (computedVerticalScrollBarVisibility == Visibility.Visible) 99return Visibility.Visible;
System\Windows\Controls\Primitives\CalendarItem.cs (3)
1082childButton.Visibility = Visibility.Visible; 1257childButton.Visibility = Visibility.Visible; 1301childButton.Visibility = Visibility.Visible;
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (5)
97DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(Visibility.Visible)); 521_leftGripper.Visibility = Visibility.Visible; 539_rightGripper.Visibility = Visibility.Visible; 571bool oldIsVisible = (((Visibility)e.OldValue) == Visibility.Visible); 572bool newIsVisible = (((Visibility)e.NewValue) == Visibility.Visible);
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
556Visibility dragIndicatorVisibility = shouldDisplayDragIndicator ? Visibility.Visible : Visibility.Collapsed;
System\Windows\Controls\Primitives\DataGridRowHeader.cs (3)
175DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridRowHeader), new FrameworkPropertyMetadata(Visibility.Visible)); 656_topGripper.Visibility = Visibility.Visible; 672_bottomGripper.Visibility = Visibility.Visible;
System\Windows\Controls\Primitives\Track.cs (2)
673else if (Visibility != Visibility.Visible) 675Visibility = Visibility.Visible;
System\Windows\Controls\ScrollViewer.cs (14)
261|| ( _scrollVisibilityX == Visibility.Visible 274|| (_scrollVisibilityY == Visibility.Visible 552new FrameworkPropertyMetadata(Visibility.Visible)); 570new FrameworkPropertyMetadata(Visibility.Visible)); 1169Visibility vv = (vsbv == ScrollBarVisibility.Visible) ? Visibility.Visible : Visibility.Collapsed; 1170Visibility hv = (hsbv == ScrollBarVisibility.Visible) ? Visibility.Visible : Visibility.Collapsed; 1210if (_scrollVisibilityX != Visibility.Visible) 1212_scrollVisibilityX = Visibility.Visible; 1219if (_scrollVisibilityY != Visibility.Visible) 1221_scrollVisibilityY = Visibility.Visible; 1255if (_scrollVisibilityX != Visibility.Visible) 1257_scrollVisibilityX = Visibility.Visible; 1263if (_scrollVisibilityY != Visibility.Visible) 1265_scrollVisibilityY = Visibility.Visible;
System\Windows\Controls\TabControl.cs (1)
472if (tabItem != null && tabItem.IsEnabled && tabItem.Visibility == Visibility.Visible)
System\Windows\Controls\VirtualizingStackPanel.cs (4)
9912Visibility newvv = DoubleUtil.LessThanOrClose(extentSize.Height, viewportSize.Height) ? Visibility.Collapsed : Visibility.Visible; 9928Visibility newhv = DoubleUtil.LessThanOrClose(extentSize.Width, viewportSize.Width) ? Visibility.Collapsed : Visibility.Visible; 10629Visibility newvv = DoubleUtil.LessThanOrClose(extentSize.Height, viewportSize.Height) ? Visibility.Collapsed : Visibility.Visible; 10645Visibility newhv = DoubleUtil.LessThanOrClose(extentSize.Width, viewportSize.Width) ? Visibility.Collapsed : Visibility.Visible;
System\Windows\Documents\FixedPage.cs (1)
135path.Visibility = Visibility.Visible;
System\Windows\Interop\ActiveXHost.cs (1)
871case Visibility.Visible:
System\Windows\Shell\ThumbButtonInfo.cs (1)
28new PropertyMetadata(Visibility.Visible));
System\Windows\Window.cs (5)
186UpdateVisibilityProperty(Visibility.Visible); 2179case Visibility.Visible: 5090UpdateVisibilityProperty(Visibility.Visible); 5382if (newValue == Visibility.Visible) 6783case Visibility.Visible:
PresentationFramework.Aero (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
166if (SeparatorVisibility == Visibility.Visible)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
160DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
PresentationFramework.Aero2 (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
166if (SeparatorVisibility == Visibility.Visible)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
160DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
PresentationFramework.AeroLite (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
117if (SeparatorVisibility == Visibility.Visible)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
160DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
PresentationFramework.Classic (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
64if (SeparatorVisibility == Visibility.Visible && SeparatorBrush != null) 82if (SeparatorVisibility == Visibility.Visible && SeparatorBrush != null)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
160DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
258if (SeparatorVisibility == Visibility.Visible)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
160DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
PresentationFramework.Royale (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
180if (SeparatorVisibility == Visibility.Visible)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
160DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
PresentationUI (12)
InstallationError.xaml.cs (4)
91RetryButton.Visibility = Visibility.Visible; 100GetWinFXButton.Visibility = Visibility.Visible; 137SupportUriText.Visibility = Visibility.Visible; 182LogFileButton.Visibility = Visibility.Visible;
MS\Internal\Documents\Application\StatusInfoItem.cs (2)
123this.Visibility = Visibility.Visible; 146this.Visibility = Visibility.Visible;
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
1230uie.Visibility = Visibility.Visible;
MS\Internal\Documents\FindToolBar.xaml.cs (1)
235FindTextLabel.Visibility = Visibility.Visible;
TenFeetInstallationError.xaml.cs (4)
93RetryButton.Visibility = Visibility.Visible; 104GetWinFXButton.Visibility = Visibility.Visible; 141SupportUriText.Visibility = Visibility.Visible; 186LogFileButton.Visibility = Visibility.Visible;
Roslyn.VisualStudio.DiagnosticsWindow (4)
OptionPages\InternalOptionsControl.cs (4)
62item.Visibility = Visibility.Visible; 68clearButton.Click += (o, a) => optionsPanel.Children.OfType<CheckBox>().Do(c => c.Visibility = Visibility.Visible); 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 (41)
Microsoft\Windows\Controls\ActivatingKeyTipEventArgs.cs (1)
42KeyTipVisibility = Visibility.Visible;
Microsoft\Windows\Controls\KeyTipService.cs (2)
1362uie.Visibility != Visibility.Visible) 1382if (activatingEventArgs.KeyTipVisibility == 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\RibbonScrollButtonVisibilityConverter.cs (2)
70if (computedScrollBarVisibility == Visibility.Visible) 104return Visibility.Visible;
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\Ribbon.cs (1)
208new UIPropertyMetadata(Visibility.Visible, OnWindowIconVisibilityChanged));
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\RibbonGallery.cs (1)
2379category.Visibility = Visibility.Visible;
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (1)
631new FrameworkPropertyMetadata(Visibility.Visible));
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (6)
174SetAppropriatePresenterVisibility(groupSizeDefinitions[_sizeDefinitionIndex] is RibbonGroupSizeDefinition ? Visibility.Visible : Visibility.Collapsed); 999SetAppropriatePresenterVisibility(GroupSizeDefinitions[_sizeDefinitionIndex] is RibbonGroupSizeDefinition ? Visibility.Visible : Visibility.Collapsed); 1126if (SetAppropriatePresenterVisibility(Visibility.Visible)) 1159if (itemsPresenterVisibility == Visibility.Visible) 1167_templateContentControl.Visibility = (itemsPresenterVisibility == Visibility.Visible ? Visibility.Collapsed : Visibility.Visible);
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 (7)
49VisibilityProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(Visibility.Visible, new PropertyChangedCallback(OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility))); 643Visibility contextualVisibility = Visibility.Visible; 664if (baseVisibility != Visibility.Visible || 665contextualVisibility != Visibility.Visible) 671return Visibility.Visible; 687(Visibility)e.OldValue == Visibility.Visible && 688(Visibility)e.NewValue != Visibility.Visible)
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (6)
281_textBlock2.Visibility = Visibility.Visible; 309_textBlock1.Visibility = Visibility.Visible; 314_textBlock2.Visibility = Visibility.Visible; 323_textBlock1.Visibility = Visibility.Visible; 346_textBlock1.Visibility = Visibility.Visible; 382_textBlock1.Visibility = Visibility.Visible;
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\ElementHostPropertyMap.cs (1)
197SW.Visibility toVisibility = ((fromVisible) ? SW.Visibility.Visible : SW.Visibility.Hidden);
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
274windowsFormsHost.Child.Visible = ((SW.Visibility)value == SW.Visibility.Visible);