167 references to Collapsed
PresentationCore (16)
Core\CSharp\MS\Internal\KnownBoxes.cs (1)
34
internal static object CollapsedBox = Visibility.
Collapsed
;
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 (9)
190
if(this.Visibility == Visibility.
Collapsed
)
612
if (this.Visibility == Visibility.
Collapsed
825
if (this.Visibility == Visibility.
Collapsed
1325
if (this.Visibility == Visibility.
Collapsed
)
3006
return (value == Visibility.Visible) || (value == Visibility.Hidden) || (value == Visibility.
Collapsed
);
3031
case Visibility.
Collapsed
:
4190
return Visibility.
Collapsed
;
4195
Debug.Assert(value == Visibility.Visible || value == Visibility.Hidden || value == Visibility.
Collapsed
);
4209
case Visibility.
Collapsed
:
Core\CSharp\System\Windows\UIElement3D.cs (5)
685
return (value == Visibility.Visible) || (value == Visibility.Hidden) || (value == Visibility.
Collapsed
);
710
case Visibility.
Collapsed
:
1356
return Visibility.
Collapsed
;
1361
Debug.Assert(value == Visibility.Visible || value == Visibility.Hidden || value == Visibility.
Collapsed
);
1375
case Visibility.
Collapsed
:
PresentationFramework (53)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
1358
SetValue(UIElement.VisibilityProperty, Visibility.
Collapsed
);
src\Framework\MS\Internal\Controls\TemplatedAdorner.cs (1)
183
Visibility desired = AdornedElement.IsVisible ? Visibility.Visible : Visibility.
Collapsed
;
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
78
findToolBarHost.Visibility = Visibility.
Collapsed
;
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (1)
909
Debug.Assert(_inkCanvas.SelectionAdorner.Visibility == Visibility.
Collapsed
,
src\Framework\System\Windows\Controls\BooleanToVisibilityConverter.cs (1)
46
return (bValue) ? Visibility.Visible : Visibility.
Collapsed
;
src\Framework\System\Windows\Controls\DataGrid.cs (5)
1337
return SelectedItems.Contains(item) ? Visibility.Visible : Visibility.
Collapsed
;
1341
return Visibility.
Collapsed
;
3806
_placeholderVisibility = Visibility.
Collapsed
;
3812
_placeholderVisibility = Visibility.
Collapsed
;
8688
private Visibility _placeholderVisibility = Visibility.
Collapsed
; // The visibility used for the Placeholder container. It may not exist at all times, so it's stored on the DG.
src\Framework\System\Windows\Controls\DataGridHeadersVisibilityToVisibilityConverter.cs (1)
55
return visible ? Visibility.Visible : Visibility.
Collapsed
;
src\Framework\System\Windows\Controls\DataGridRow.cs (5)
400
DependencyProperty.Register("DetailsVisibility", typeof(Visibility), typeof(DataGridRow), new FrameworkPropertyMetadata(Visibility.
Collapsed
, OnNotifyDetailsVisibilityChanged, OnCoerceDetailsVisibility));
729
visibility = Visibility.
Collapsed
;
732
visibility = hasDetailsTemplate && isRealItem ? Visibility.Visible : Visibility.
Collapsed
;
735
visibility = row.IsSelected && hasDetailsTemplate && isRealItem ? Visibility.Visible : Visibility.
Collapsed
;
738
visibility = Visibility.
Collapsed
;
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\InkCanvas.cs (1)
3171
return Visibility.
Collapsed
;
src\Framework\System\Windows\Controls\MenuScrollingVisibilityConverter.cs (2)
104
return Visibility.
Collapsed
;
111
return Visibility.
Collapsed
;
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (2)
526
_leftGripper.Visibility = Visibility.
Collapsed
;
544
_rightGripper.Visibility = Visibility.
Collapsed
;
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (3)
556
Visibility dragIndicatorVisibility = shouldDisplayDragIndicator ? Visibility.Visible : Visibility.
Collapsed
;
826
_columnHeaderDragIndicator.Visibility = Visibility.
Collapsed
;
838
_columnHeaderDropLocationIndicator.Visibility = Visibility.
Collapsed
;
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (2)
661
_topGripper.Visibility = Visibility.
Collapsed
;
677
_bottomGripper.Visibility = Visibility.
Collapsed
;
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\UniformGrid.cs (2)
230
if (child.Visibility != Visibility.
Collapsed
)
282
if (child.Visibility != Visibility.
Collapsed
)
src\Framework\System\Windows\Controls\ScrollViewer.cs (4)
262
&& ( ( _scrollVisibilityX == Visibility.
Collapsed
275
&& ((_scrollVisibilityY == Visibility.
Collapsed
1196
Visibility vv = (vsbv == ScrollBarVisibility.Visible) ? Visibility.Visible : Visibility.
Collapsed
;
1197
Visibility hv = (hsbv == ScrollBarVisibility.Visible) ? Visibility.Visible : Visibility.
Collapsed
;
src\Framework\System\Windows\Controls\StickyNote.cs (3)
1708
copyMenuItem.Visibility = Visibility.
Collapsed
;
1721
pasteMenuItem.Visibility = Visibility.
Collapsed
;
1730
clipboardSeparator.Visibility = Visibility.
Collapsed
;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (4)
9762
Visibility newvv = DoubleUtil.LessThanOrClose(extentSize.Height, viewportSize.Height) ? Visibility.
Collapsed
: Visibility.Visible;
9778
Visibility newhv = DoubleUtil.LessThanOrClose(extentSize.Width, viewportSize.Width) ? Visibility.
Collapsed
: Visibility.Visible;
10479
Visibility newvv = DoubleUtil.LessThanOrClose(extentSize.Height, viewportSize.Height) ? Visibility.
Collapsed
: Visibility.Visible;
10495
Visibility newhv = DoubleUtil.LessThanOrClose(extentSize.Width, viewportSize.Width) ? Visibility.
Collapsed
: Visibility.Visible;
src\Framework\System\Windows\Generated\FrameworkElement.cs (1)
464
if (Visibility == Visibility.
Collapsed
)
src\Framework\System\Windows\Interop\ActiveXHost.cs (1)
1010
case Visibility.
Collapsed
:
src\Framework\System\Windows\Window.cs (3)
87
VisibilityProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(Visibility.
Collapsed
, new PropertyChangedCallback(_OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility)));
2210
case Visibility.
Collapsed
:
7071
case Visibility.
Collapsed
:
System.Activities.Core.Presentation (25)
System\Activities\Core\Presentation\CaseKeyBox.ViewModel.cs (4)
26
DependencyProperty.Register("ComboBoxVisibility", typeof(Visibility), typeof(CaseKeyBoxViewModel), new UIPropertyMetadata(Visibility.
Collapsed
));
181
this.TextBoxVisibility = Visibility.
Collapsed
;
194
this.ComboBoxVisibility = Visibility.
Collapsed
;
201
this.TextBoxVisibility = Visibility.
Collapsed
;
System\Activities\Core\Presentation\CaseLabelVisibilityConverter.cs (1)
19
return Visibility.
Collapsed
;
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (4)
192
item.Visibility = Visibility.
Collapsed
;
210
item.Visibility = Visibility.
Collapsed
;
229
setAsStartNode.Visibility = Visibility.
Collapsed
;
243
setAsStartNodeMenuItem.Visibility = Visibility.
Collapsed
;
System\Activities\Core\Presentation\FlowDecisionDesigner.xaml.cs (2)
165
this.ExpressionButtonVisibility = expressionSpecified ? Visibility.Visible : Visibility.
Collapsed
;
261
view.Visibility = Visibility.
Collapsed
;
System\Activities\Core\Presentation\FlowSwitchDesigner.xaml.cs (2)
223
this.ExpressionButtonVisibility = expressionSpecified ? Visibility.Visible : Visibility.
Collapsed
;
319
view.Visibility = Visibility.
Collapsed
;
System\Activities\Core\Presentation\ParallelSeparator.xaml.cs (2)
53
this.dropTarget.Visibility = Visibility.
Collapsed
;
58
this.dropTarget.Visibility = Visibility.
Collapsed
;
System\Activities\Core\Presentation\StateDesigner.xaml.cs (1)
159
item.Visibility = Visibility.
Collapsed
;
System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (3)
371
this.addNewCaseLabel.Visibility = Visibility.
Collapsed
;
386
this.addNewCaseLabel.Visibility = Visibility.
Collapsed
;
399
this.addNewCaseLabel.Visibility = Visibility.
Collapsed
;
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (3)
385
this.addNewTransitionLabel.Visibility = Visibility.
Collapsed
;
404
this.addNewTransitionLabel.Visibility = Visibility.
Collapsed
;
425
this.addNewTransitionLabel.Visibility = Visibility.
Collapsed
;
System\Activities\Core\Presentation\VerticalConnector.xaml.cs (2)
48
this.dropTarget.Visibility = Visibility.
Collapsed
;
53
this.dropTarget.Visibility = Visibility.
Collapsed
;
System\ServiceModel\Activities\Presentation\ContentCorrelationTypeExpander.xaml.cs (1)
137
this.emptyContent.Visibility = null == this.TypesToExpand || 0 == this.TypesToExpand.Count ? Visibility.Visible : Visibility.
Collapsed
;
System.Activities.Presentation (73)
System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (2)
248
this.defaultDisplayNameReadOnlyControl.Visibility = Visibility.
Collapsed
;
259
this.defaultDisplayNameBox.Visibility = Visibility.
Collapsed
;
System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationManager.cs (10)
241
this.Indicator.Visibility = Visibility.
Collapsed
;
244
this.DockedAnnotation.Visibility = Visibility.
Collapsed
;
251
this.Indicator.Visibility = Visibility.
Collapsed
;
258
this.DockedAnnotation.Visibility = Visibility.
Collapsed
;
375
this.Indicator.Visibility = Visibility.
Collapsed
;
378
this.dockedAnnotation.Visibility = Visibility.
Collapsed
;
389
this.Indicator.Visibility = Visibility.
Collapsed
;
517
this.DockedAnnotation.Visibility = Visibility.
Collapsed
;
546
this.DockedAnnotation.Visibility = Visibility.
Collapsed
;
567
this.Indicator.Visibility = Visibility.
Collapsed
;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\BoolToVisibilityCollpasedConverter.cs (1)
41
Visibility result = Visibility.
Collapsed
;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\IntegerToVisibilityConverter.cs (1)
24
private Visibility zeroValue = Visibility.
Collapsed
;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ValueConverters.cs (1)
95
return (object)(value ? Visibility.Visible : Visibility.
Collapsed
);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\VisibilityOrConverter.cs (1)
28
return Visibility.
Collapsed
;
System.Activities.Presentation\System\Activities\Presentation\ContextMenuUtilities.cs (1)
155
control.Visibility = Visibility.
Collapsed
;
System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (1)
116
StackTraceVisibility = string.IsNullOrEmpty(stackTrace) ? Visibility.
Collapsed
: Visibility.Visible,
System.Activities.Presentation\System\Activities\Presentation\ExpandButtonVisibilityConverter.cs (1)
47
visibility = Visibility.
Collapsed
;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorLabelVisibilityConverter.cs (1)
22
Visibility connectorLabelVisibility = Visibility.
Collapsed
;
System.Activities.Presentation\System\Activities\Presentation\Toolbox\TreeViewContainerStyleSelector.cs (3)
80
enableTrigger.Value = Visibility.
Collapsed
;
146
var result = Visibility.
Collapsed
;
159
result = Visibility.
Collapsed
;
System.Activities.Presentation\System\Activities\Presentation\VerticalConnector.xaml.cs (2)
32
this.dropTarget.Visibility = Visibility.
Collapsed
;
37
this.dropTarget.Visibility = Visibility.
Collapsed
;
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 (20)
260
return result ? Visibility.Visible : Visibility.
Collapsed
;
277
return result ? Visibility.Visible : Visibility.
Collapsed
;
580
separator.Visibility = visible ? Visibility.Visible : Visibility.
Collapsed
;
590
.Any(item => item.Visibility == Visibility.Visible) ? Visibility.Visible : Visibility.
Collapsed
;
605
item.Visibility = Visibility.
Collapsed
;
693
item.Visibility = Visibility.
Collapsed
;
728
item.Visibility = Visibility.
Collapsed
;
823
Visibility.Visible : Visibility.
Collapsed
;
848
item.Visibility = Visibility.
Collapsed
;
854
Visibility.Visible : Visibility.
Collapsed
;
868
Visibility.Visible : Visibility.
Collapsed
;
895
Visibility.Visible : Visibility.
Collapsed
;
918
Visibility visibility = Visibility.
Collapsed
;
923
Visibility.Visible : Visibility.
Collapsed
;
947
Visibility visibility = Visibility.
Collapsed
;
952
Visibility.Visible : Visibility.
Collapsed
;
1029
item.Visibility = Visibility.
Collapsed
;
1071
item.Visibility = Visibility.
Collapsed
;
1286
item.Visibility = Visibility.
Collapsed
;
1552
item.Visibility = Visibility.
Collapsed
;
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (13)
123
this.buttonPanMode.Visibility = this.IsPanModeEnabled ? Visibility.Visible : Visibility.
Collapsed
;
887
this.splitter.Visibility = Visibility.
Collapsed
;
888
this.bottomPanel.Visibility = Visibility.
Collapsed
;
1017
if (uiElement.Visibility == Visibility.
Collapsed
)
1041
uiElement.Visibility = Visibility.
Collapsed
;
1256
this.panModeStatusBarItem.Visibility = CheckItemVisibility(visibility, ShellBarItemVisibility.PanMode) ? Visibility.Visible : Visibility.
Collapsed
;
1259
Visibility zoomVisibility = CheckItemVisibility(visibility, ShellBarItemVisibility.Zoom) ? Visibility.Visible : Visibility.
Collapsed
;
1266
this.minimapStatusBar.Visibility = CheckItemVisibility(visibility, ShellBarItemVisibility.MiniMap) ? Visibility.Visible : Visibility.
Collapsed
;
1269
this.shellBar.Visibility = (ShellBarItemVisibility.None == visibility) ? Visibility.
Collapsed
: Visibility.Visible;
1278
this.breadCrumbListBox.Visibility = CheckItemVisibility(visibility, ShellHeaderItemsVisibility.Breadcrumb) ? Visibility.Visible : Visibility.
Collapsed
;
1279
this.expandAllButton.Visibility = CheckItemVisibility(visibility, ShellHeaderItemsVisibility.ExpandAll) ? Visibility.Visible : Visibility.
Collapsed
;
1280
this.collapseAllButton.Visibility = CheckItemVisibility(visibility, ShellHeaderItemsVisibility.CollapseAll) ? Visibility.Visible : Visibility.
Collapsed
;
1316
item.Visibility = visible ? Visibility.Visible : Visibility.
Collapsed
;
System.Activities.Presentation\System\Activities\Presentation\View\SpacerPlaceholder.xaml.cs (1)
30
this.dropTarget.Visibility = Visibility.
Collapsed
;
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (4)
143
this.LocalAssembly.Visibility = Visibility.
Collapsed
;
745
Visibility assemblyVisibility = Visibility.
Collapsed
;
755
Visibility namespaceVisibility = Visibility.
Collapsed
;
793
entry.Visibility = Visibility.
Collapsed
;
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (4)
507
ctrl.typeTextBlock.Visibility = Visibility.
Collapsed
;
512
ctrl.typeComboBox.Visibility = Visibility.
Collapsed
;
572
this.typeComboBox.Visibility = Visibility.
Collapsed
;
580
this.typeTextBlock.Visibility = Visibility.
Collapsed
;
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (3)
844
Placeholder.Visibility = Visibility.
Collapsed
;
852
Spacer.Visibility = Visibility.
Collapsed
;
1083
spacer.Visibility = Visibility.
Collapsed
;
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (2)
295
this.hintTextGrid.Visibility = Visibility.
Collapsed
;
447
this.hintTextGrid.Visibility = (this.Items.Count == 0 && !string.IsNullOrEmpty(hintText)) ? Visibility.Visible : Visibility.
Collapsed
;