100 writes to Visibility
PresentationFramework (36)
src\Framework\MS\Internal\Controls\TemplatedAdorner.cs (1)
186
this.
Visibility
= desired;
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (2)
59
findToolBarHost.
Visibility
= Visibility.Visible;
78
findToolBarHost.
Visibility
= Visibility.Collapsed;
src\Framework\System\Windows\Application.cs (1)
2562
w.
Visibility
= Visibility.Visible;
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (3)
113
_toolBarHost.
Visibility
= IsToolBarVisible ? Visibility.Visible : Visibility.Collapsed;
945
_toolBarHost.
Visibility
= enable ? Visibility.Visible : Visibility.Collapsed;
1765
viewer._toolBarHost.
Visibility
= (bool)e.NewValue ? Visibility.Visible : Visibility.Collapsed;
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (7)
483
_indicator.
Visibility
= _floatingHeader.
Visibility
= isDisplayingFloatingHeader ? Visibility.Visible : Visibility.Hidden;
1145
indicator.
Visibility
= Visibility.Hidden;
1199
header.
Visibility
= Visibility.Hidden;
1217
_floatingHeader.
Visibility
= Visibility.Hidden;
1551
_floatingHeader.
Visibility
= Visibility.Hidden;
1554
_indicator.
Visibility
= Visibility.Hidden;
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (5)
1085
childButton.
Visibility
= Visibility.Visible;
1091
childButton.
Visibility
= Visibility.Hidden;
1134
childButton.
Visibility
= Visibility.Hidden;
1260
childButton.
Visibility
= Visibility.Visible;
1304
childButton.
Visibility
= Visibility.Visible;
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (4)
522
_leftGripper.
Visibility
= Visibility.Visible;
526
_leftGripper.
Visibility
= Visibility.Collapsed;
540
_rightGripper.
Visibility
= Visibility.Visible;
544
_rightGripper.
Visibility
= Visibility.Collapsed;
src\Framework\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;
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (4)
657
_topGripper.
Visibility
= Visibility.Visible;
661
_topGripper.
Visibility
= Visibility.Collapsed;
673
_bottomGripper.
Visibility
= Visibility.Visible;
677
_bottomGripper.
Visibility
= Visibility.Collapsed;
src\Framework\System\Windows\Controls\Primitives\Track.cs (2)
666
Visibility
= Visibility.Hidden;
677
Visibility
= Visibility.Visible;
src\Framework\System\Windows\Controls\StickyNote.cs (3)
1708
copyMenuItem.
Visibility
= Visibility.Collapsed;
1721
pasteMenuItem.
Visibility
= Visibility.Collapsed;
1730
clipboardSeparator.
Visibility
= Visibility.Collapsed;
System.Activities.Core.Presentation (17)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (7)
188
item.
Visibility
= Visibility.Visible;
192
item.
Visibility
= Visibility.Collapsed;
206
item.
Visibility
= Visibility.Visible;
210
item.
Visibility
= Visibility.Collapsed;
229
setAsStartNode.
Visibility
= Visibility.Collapsed;
243
setAsStartNodeMenuItem.
Visibility
= Visibility.Collapsed;
247
setAsStartNodeMenuItem.
Visibility
= Visibility.Visible;
System\Activities\Core\Presentation\FlowSwitchCaseEditorDialog.cs (1)
52
Visibility
= Visibility.Visible,
System\Activities\Core\Presentation\StateDesigner.xaml.cs (1)
159
item.
Visibility
= Visibility.Collapsed;
System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (4)
371
this.addNewCaseLabel.
Visibility
= Visibility.Collapsed;
381
this.addNewCaseLabel.
Visibility
= Visibility.Visible;
386
this.addNewCaseLabel.
Visibility
= Visibility.Collapsed;
399
this.addNewCaseLabel.
Visibility
= Visibility.Collapsed;
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (4)
385
this.addNewTransitionLabel.
Visibility
= Visibility.Collapsed;
395
this.addNewTransitionLabel.
Visibility
= Visibility.Visible;
404
this.addNewTransitionLabel.
Visibility
= Visibility.Collapsed;
425
this.addNewTransitionLabel.
Visibility
= Visibility.Collapsed;
System.Activities.Presentation (47)
System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (4)
247
this.defaultDisplayNameBox.
Visibility
= Visibility.Visible;
248
this.defaultDisplayNameReadOnlyControl.
Visibility
= Visibility.Collapsed;
258
this.defaultDisplayNameReadOnlyControl.
Visibility
= Visibility.Visible;
259
this.defaultDisplayNameBox.
Visibility
= Visibility.Collapsed;
System.Activities.Presentation\System\Activities\Presentation\Annotations\UIElementToAnnotationIndicatorAdapter.cs (1)
54
this.element.
Visibility
= value;
System.Activities.Presentation\System\Activities\Presentation\ContextMenuUtilities.cs (2)
151
control.
Visibility
= Visibility.Visible;
155
control.
Visibility
= Visibility.Collapsed;
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
884
this.
Visibility
= Visibility.Visible;
933
this.
Visibility
= Visibility.Hidden;
System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeDesigner.xaml.cs (1)
45
item.
Visibility
= Visibility.Collapsed;
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (24)
456
entry.
Visibility
= Visibility.Visible;
580
separator.
Visibility
= visible ? Visibility.Visible : Visibility.Collapsed;
586
separator.
Visibility
= this.ContextMenu.Items
605
item.
Visibility
= Visibility.Collapsed;
609
item.
Visibility
= this.navigateToParentFunction(this.contextMenuTarget, false);
693
item.
Visibility
= Visibility.Collapsed;
697
item.
Visibility
= ExpandButtonVisibilityConverter.GetExpandCollapseButtonVisibility(this.contextMenuTarget);
728
item.
Visibility
= Visibility.Collapsed;
732
item.
Visibility
= this.navigateToChildFunction(this.contextMenuTarget, false);
822
item.
Visibility
= this.isCommandServiceEnabled() && this.isCommandSupported(CommandValues.ShowProperties) ?
848
item.
Visibility
= Visibility.Collapsed;
852
item.
Visibility
=
864
item.
Visibility
=
891
item.
Visibility
=
925
item.
Visibility
= visibility;
954
item.
Visibility
= visibility;
1029
item.
Visibility
= Visibility.Collapsed;
1033
item.
Visibility
= Visibility.Visible;
1071
item.
Visibility
= Visibility.Collapsed;
1075
item.
Visibility
= Visibility.Visible;
1286
item.
Visibility
= Visibility.Collapsed;
1289
item.
Visibility
= variablesStatusBarItem.Visibility;
1546
item.
Visibility
= Visibility.Visible;
1552
item.
Visibility
= Visibility.Collapsed;
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (4)
1010
window.
Visibility
= button.IsChecked.Value ? Visibility.Visible : Visibility.Hidden;
1033
uiElement.
Visibility
= Visibility.Visible;
1041
uiElement.
Visibility
= Visibility.Collapsed;
1316
item.
Visibility
= visible ? Visibility.Visible : Visibility.Collapsed;
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (6)
840
Spacer.
Visibility
= Visibility.Visible;
844
Placeholder.
Visibility
= Visibility.Collapsed;
852
Spacer.
Visibility
= Visibility.Collapsed;
856
Placeholder.
Visibility
= Visibility.Visible;
1083
spacer.
Visibility
= Visibility.Collapsed;
1157
SpacerPlaceholder spacerPlaceholder = new SpacerPlaceholder { MinHeight = 20,
Visibility
= Visibility.Visible, AllowDrop = true };
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (3)
295
this.hintTextGrid.
Visibility
= Visibility.Collapsed;
299
this.hintTextGrid.
Visibility
= Visibility.Visible;
447
this.hintTextGrid.
Visibility
= (this.Items.Count == 0 && !string.IsNullOrEmpty(hintText)) ? Visibility.Visible : Visibility.Collapsed;
43 references to Visibility
PresentationCore (10)
Core\CSharp\MS\Internal\Automation\ElementUtil.cs (1)
290
if ( !(sibling is UIElement) || (((UIElement)sibling).
Visibility
== Visibility.Visible ) )
Core\CSharp\System\Windows\Input\AccessKeyManager.cs (1)
601
visibility = uiElem.
Visibility
;
Core\CSharp\System\Windows\LayoutManager.cs (1)
928
if (p != null && p.
Visibility
!= Visibility.Collapsed) //not yet a root or a collapsed node
Core\CSharp\System\Windows\UIElement.cs (7)
190
if(this.
Visibility
== Visibility.Collapsed)
602
switchVisibilityIfNeeded(this.
Visibility
);
612
if (this.
Visibility
== Visibility.Collapsed
825
if (this.
Visibility
== Visibility.Collapsed
1325
if (this.
Visibility
== Visibility.Collapsed)
2732
if(this.
Visibility
== Visibility.Visible)
3884
bool isVisible = (
Visibility
== Visibility.Visible);
PresentationFramework (19)
src\Framework\MS\Internal\Controls\TemplatedAdorner.cs (1)
184
if (desired != this.
Visibility
)
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (2)
902
Debug.Assert(_inkCanvas.SelectionAdorner.
Visibility
== Visibility.Visible,
909
Debug.Assert(_inkCanvas.SelectionAdorner.
Visibility
== Visibility.Collapsed,
src\Framework\MS\Internal\Ink\LassoSelectionBehavior.cs (1)
404
if (childElement.
Visibility
!= Visibility.Visible)
src\Framework\System\Windows\Application.cs (1)
1825
if (window.
Visibility
!= Visibility.Visible)
src\Framework\System\Windows\Controls\DataGridRow.cs (1)
1351
get { return _detailsPresenter != null && _detailsPresenter.
Visibility
== Visibility.Visible; }
src\Framework\System\Windows\Controls\Primitives\TabPanel.cs (6)
106
if (child.
Visibility
== Visibility.Collapsed)
150
if (child.
Visibility
== Visibility.Collapsed)
224
if (child.
Visibility
== Visibility.Collapsed)
262
if (child.
Visibility
== Visibility.Collapsed)
311
if (child.
Visibility
!= Visibility.Collapsed)
331
if (child.
Visibility
== Visibility.Collapsed)
src\Framework\System\Windows\Controls\Primitives\Track.cs (2)
664
if (
Visibility
!= Visibility.Hidden)
675
else if (
Visibility
!= Visibility.Visible)
src\Framework\System\Windows\Controls\Primitives\UniformGrid.cs (2)
230
if (child.
Visibility
!= Visibility.Collapsed)
282
if (child.
Visibility
!= Visibility.Collapsed)
src\Framework\System\Windows\Controls\TabControl.cs (1)
473
if (tabItem != null && tabItem.IsEnabled && tabItem.
Visibility
== Visibility.Visible)
src\Framework\System\Windows\Generated\FrameworkElement.cs (1)
464
if (
Visibility
== Visibility.Collapsed)
src\Framework\System\Windows\Interop\ActiveXHost.cs (1)
1005
switch (axHost.
Visibility
)
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (1)
309
if (control != null && control.
Visibility
== Visibility.Visible)
System.Activities.Presentation (13)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\CategoryContainerAutomationPeer.cs (1)
114
advancedExpander.
Visibility
== Visibility.Visible)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (1)
378
if (this.
Visibility
== Visibility.Visible)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Views\ByCategoryViewManager.cs (1)
189
if (container != null && container.
Visibility
== Visibility.Visible)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\VisualTreeUtils.cs (4)
160
if (reference == null || (reference.Focusable && reference.
Visibility
== Visibility.Visible))
174
if (child.
Visibility
!= Visibility.Visible)
208
if (parent.
Visibility
== Visibility.Visible && parent is T && parent.Focusable)
261
if (parent.
Visibility
!= Visibility.Visible)
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
882
if (this.
Visibility
== Visibility.Hidden)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
572
visible = ((MenuItem)contextMenuItem).
Visibility
== Visibility.Visible;
590
.Any(item => item.
Visibility
== Visibility.Visible) ? Visibility.Visible : Visibility.Collapsed;
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
1017
if (uiElement.
Visibility
== Visibility.Collapsed)
1319
if (item.
Visibility
!= Visibility.Visible)
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (1)
92
if (null != window && null != window.Surface && window.
Visibility
== Visibility.Visible)