191 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)
27TypeIsEmptyImage = Visibility.Visible; 186TypeIsEmptyImage = Visibility.Visible; 204TypeDoesNotParseOrInvalidTypeImage = Visibility.Visible; 211TypeDoesNotParseOrInvalidTypeImage = Visibility.Visible; 221TypeBindsImage = parameterTypeBinds ? Visibility.Visible : Visibility.Collapsed; 222TypeDoesNotBindImage = !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.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)
PresentationCore (17)
MS\Internal\Automation\ElementUtil.cs (1)
260if ( !(sibling is UIElement) || (((UIElement)sibling).Visibility == Visibility.Visible ) )
MS\Internal\KnownBoxes.cs (2)
30internal static object VisibleBox = Visibility.Visible; 36if (value == Visibility.Visible)
System\Windows\Input\AccessKeyManager.cs (1)
515if (visibility != Visibility.Visible)
System\Windows\UIElement.cs (7)
2698if(this.Visibility == Visibility.Visible) 2972return (value == Visibility.Visible) || (value == Visibility.Hidden) || (value == Visibility.Collapsed); 2989case Visibility.Visible: 3839bool isVisible = (Visibility == Visibility.Visible); 4134return Visibility.Visible; 4147Debug.Assert(value == Visibility.Visible || value == Visibility.Hidden || value == Visibility.Collapsed); 4151case Visibility.Visible:
System\Windows\UIElement3D.cs (6)
662return (value == Visibility.Visible) || (value == Visibility.Hidden) || (value == Visibility.Collapsed); 679case Visibility.Visible: 1050bool isVisible = (Visibility == Visibility.Visible); 1319return Visibility.Visible; 1332Debug.Assert(value == Visibility.Visible || value == Visibility.Hidden || value == Visibility.Collapsed); 1336case Visibility.Visible:
PresentationFramework (69)
MS\Internal\Controls\TemplatedAdorner.cs (1)
173Visibility desired = AdornedElement.IsVisible ? Visibility.Visible : Visibility.Collapsed;
MS\Internal\Documents\DocumentViewerHelper.cs (1)
47findToolBarHost.Visibility = Visibility.Visible;
MS\Internal\Ink\InkCanvasSelection.cs (1)
880Debug.Assert(_inkCanvas.SelectionAdorner.Visibility == Visibility.Visible,
MS\Internal\Ink\LassoSelectionBehavior.cs (1)
392if (childElement.Visibility != Visibility.Visible)
System\Windows\Application.cs (2)
1730if (window.Visibility != Visibility.Visible) 2343w.Visibility = Visibility.Visible;
System\Windows\Controls\BooleanToVisibilityConverter.cs (2)
38return (bValue) ? Visibility.Visible : Visibility.Collapsed; 53return (Visibility)value == Visibility.Visible;
System\Windows\Controls\DataGrid.cs (5)
1151if (row.DetailsVisibility == Visibility.Visible && row.DetailsPresenter != null) 1333return SelectedItems.Contains(item) ? Visibility.Visible : Visibility.Collapsed; 1335return Visibility.Visible; 3789_placeholderVisibility = Visibility.Visible; 3964row.DetailsVisibility == Visibility.Visible &&
System\Windows\Controls\DataGridColumn.cs (4)
1508new FrameworkPropertyMetadata(Visibility.Visible, new PropertyChangedCallback(OnVisibilityPropertyChanged))); 1527if (oldVisibility != Visibility.Visible && newVisibility != Visibility.Visible) 1545return Visibility == Visibility.Visible;
System\Windows\Controls\DataGridHeadersVisibilityToVisibilityConverter.cs (1)
52return visible ? Visibility.Visible : Visibility.Collapsed;
System\Windows\Controls\DataGridRow.cs (3)
727visibility = hasDetailsTemplate && isRealItem ? Visibility.Visible : Visibility.Collapsed; 730visibility = row.IsSelected && hasDetailsTemplate && isRealItem ? Visibility.Visible : Visibility.Collapsed; 1346get { return _detailsPresenter != null && _detailsPresenter.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 (1)
478_indicator.Visibility = _floatingHeader.Visibility = isDisplayingFloatingHeader ? Visibility.Visible : Visibility.Hidden;
System\Windows\Controls\InkCanvas.cs (1)
3008return Visibility.Visible;
System\Windows\Controls\MenuScrollingVisibilityConverter.cs (2)
64if (computedVerticalScrollBarVisibility == Visibility.Visible) 93return Visibility.Visible;
System\Windows\Controls\Primitives\CalendarItem.cs (3)
1077childButton.Visibility = Visibility.Visible; 1252childButton.Visibility = Visibility.Visible; 1296childButton.Visibility = Visibility.Visible;
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (5)
92DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(Visibility.Visible)); 516_leftGripper.Visibility = Visibility.Visible; 534_rightGripper.Visibility = Visibility.Visible; 566bool oldIsVisible = (((Visibility)e.OldValue) == Visibility.Visible); 567bool newIsVisible = (((Visibility)e.NewValue) == Visibility.Visible);
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
551Visibility dragIndicatorVisibility = shouldDisplayDragIndicator ? Visibility.Visible : Visibility.Collapsed;
System\Windows\Controls\Primitives\DataGridRowHeader.cs (3)
170DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridRowHeader), new FrameworkPropertyMetadata(Visibility.Visible)); 651_topGripper.Visibility = Visibility.Visible; 667_bottomGripper.Visibility = Visibility.Visible;
System\Windows\Controls\Primitives\Track.cs (2)
662else if (Visibility != Visibility.Visible) 664Visibility = Visibility.Visible;
System\Windows\Controls\ScrollViewer.cs (14)
253|| ( _scrollVisibilityX == Visibility.Visible 266|| (_scrollVisibilityY == Visibility.Visible 544new FrameworkPropertyMetadata(Visibility.Visible)); 562new FrameworkPropertyMetadata(Visibility.Visible)); 1161Visibility vv = (vsbv == ScrollBarVisibility.Visible) ? Visibility.Visible : Visibility.Collapsed; 1162Visibility hv = (hsbv == ScrollBarVisibility.Visible) ? Visibility.Visible : Visibility.Collapsed; 1202if (_scrollVisibilityX != Visibility.Visible) 1204_scrollVisibilityX = Visibility.Visible; 1211if (_scrollVisibilityY != Visibility.Visible) 1213_scrollVisibilityY = Visibility.Visible; 1247if (_scrollVisibilityX != Visibility.Visible) 1249_scrollVisibilityX = Visibility.Visible; 1255if (_scrollVisibilityY != Visibility.Visible) 1257_scrollVisibilityY = Visibility.Visible;
System\Windows\Controls\TabControl.cs (1)
462if (tabItem != null && tabItem.IsEnabled && tabItem.Visibility == Visibility.Visible)
System\Windows\Controls\VirtualizingStackPanel.cs (4)
9907Visibility newvv = DoubleUtil.LessThanOrClose(extentSize.Height, viewportSize.Height) ? Visibility.Collapsed : Visibility.Visible; 9923Visibility newhv = DoubleUtil.LessThanOrClose(extentSize.Width, viewportSize.Width) ? Visibility.Collapsed : Visibility.Visible; 10624Visibility newvv = DoubleUtil.LessThanOrClose(extentSize.Height, viewportSize.Height) ? Visibility.Collapsed : Visibility.Visible; 10640Visibility newhv = DoubleUtil.LessThanOrClose(extentSize.Width, viewportSize.Width) ? Visibility.Collapsed : Visibility.Visible;
System\Windows\Documents\FixedPage.cs (1)
127path.Visibility = Visibility.Visible;
System\Windows\Interop\ActiveXHost.cs (1)
861case Visibility.Visible:
System\Windows\Shell\ThumbButtonInfo.cs (1)
25new PropertyMetadata(Visibility.Visible));
System\Windows\Window.cs (5)
173UpdateVisibilityProperty(Visibility.Visible); 2166case Visibility.Visible: 5077UpdateVisibilityProperty(Visibility.Visible); 5369if (newValue == Visibility.Visible) 6770case Visibility.Visible:
PresentationFramework.Aero (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
163if (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)
163if (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)
114if (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)
60if (SeparatorVisibility == Visibility.Visible && SeparatorBrush != null) 78if (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)
255if (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)
177if (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)
87RetryButton.Visibility = Visibility.Visible; 96GetWinFXButton.Visibility = Visibility.Visible; 133SupportUriText.Visibility = Visibility.Visible; 178LogFileButton.Visibility = Visibility.Visible;
MS\Internal\Documents\Application\StatusInfoItem.cs (2)
120this.Visibility = Visibility.Visible; 143this.Visibility = Visibility.Visible;
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
1223uie.Visibility = Visibility.Visible;
MS\Internal\Documents\FindToolBar.xaml.cs (1)
223FindTextLabel.Visibility = Visibility.Visible;
TenFeetInstallationError.xaml.cs (4)
89RetryButton.Visibility = Visibility.Visible; 100GetWinFXButton.Visibility = Visibility.Visible; 137SupportUriText.Visibility = Visibility.Visible; 182LogFileButton.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)
40KeyTipVisibility = Visibility.Visible;
Microsoft\Windows\Controls\KeyTipService.cs (2)
1360uie.Visibility != Visibility.Visible) 1380if (activatingEventArgs.KeyTipVisibility == 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\RibbonScrollButtonVisibilityConverter.cs (2)
64if (computedScrollBarVisibility == Visibility.Visible) 98return Visibility.Visible;
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\Ribbon.cs (1)
205new UIPropertyMetadata(Visibility.Visible, OnWindowIconVisibilityChanged));
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\RibbonGallery.cs (1)
2377category.Visibility = Visibility.Visible;
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (1)
626new FrameworkPropertyMetadata(Visibility.Visible));
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (6)
171SetAppropriatePresenterVisibility(groupSizeDefinitions[_sizeDefinitionIndex] is RibbonGroupSizeDefinition ? Visibility.Visible : Visibility.Collapsed); 996SetAppropriatePresenterVisibility(GroupSizeDefinitions[_sizeDefinitionIndex] is RibbonGroupSizeDefinition ? Visibility.Visible : Visibility.Collapsed); 1123if (SetAppropriatePresenterVisibility(Visibility.Visible)) 1156if (itemsPresenterVisibility == Visibility.Visible) 1164_templateContentControl.Visibility = (itemsPresenterVisibility == Visibility.Visible ? Visibility.Collapsed : Visibility.Visible);
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 (7)
47VisibilityProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(Visibility.Visible, new PropertyChangedCallback(OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility))); 641Visibility contextualVisibility = Visibility.Visible; 662if (baseVisibility != Visibility.Visible || 663contextualVisibility != Visibility.Visible) 669return Visibility.Visible; 685(Visibility)e.OldValue == Visibility.Visible && 686(Visibility)e.NewValue != Visibility.Visible)
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (6)
278_textBlock2.Visibility = Visibility.Visible; 306_textBlock1.Visibility = Visibility.Visible; 311_textBlock2.Visibility = Visibility.Visible; 320_textBlock1.Visibility = Visibility.Visible; 343_textBlock1.Visibility = Visibility.Visible; 379_textBlock1.Visibility = Visibility.Visible;
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\ElementHostPropertyMap.cs (1)
195SW.Visibility toVisibility = ((fromVisible) ? SW.Visibility.Visible : SW.Visibility.Hidden);
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
273windowsFormsHost.Child.Visible = ((SW.Visibility)value == SW.Visibility.Visible);