549 references to Visibility
PresentationCore (64)
Core\CSharp\MS\Internal\Automation\ElementUtil.cs (1)
290
if ( !(sibling is UIElement) || (((UIElement)sibling).Visibility ==
Visibility
.Visible ) )
Core\CSharp\MS\Internal\KnownBoxes.cs (6)
32
internal static object VisibleBox =
Visibility
.Visible;
33
internal static object HiddenBox =
Visibility
.Hidden;
34
internal static object CollapsedBox =
Visibility
.Collapsed;
36
internal static object Box(
Visibility
value)
38
if (value ==
Visibility
.Visible)
42
else if (value ==
Visibility
.Hidden)
Core\CSharp\System\Windows\Input\AccessKeyManager.cs (2)
594
Visibility
visibility;
608
if (visibility !=
Visibility
.Visible)
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 (30)
130
VisibilityCache = (
Visibility
) VisibilityProperty.GetDefaultValue(DependencyObjectType);
190
if(this.Visibility ==
Visibility
.Collapsed)
612
if (this.Visibility ==
Visibility
.Collapsed
825
if (this.Visibility ==
Visibility
.Collapsed
1325
if (this.Visibility ==
Visibility
.Collapsed)
2732
if(this.Visibility ==
Visibility
.Visible)
2984
typeof(
Visibility
),
2995
Visibility
newVisibility = (
Visibility
) e.NewValue;
3005
Visibility
value = (
Visibility
) o;
3006
return (value ==
Visibility
.Visible) || (value ==
Visibility
.Hidden) || (value ==
Visibility
.Collapsed);
3013
public
Visibility
Visibility
3019
private void switchVisibilityIfNeeded(
Visibility
visibility)
3023
case
Visibility
.Visible:
3027
case
Visibility
.Hidden:
3031
case
Visibility
.Collapsed:
3884
bool isVisible = (Visibility ==
Visibility
.Visible);
4176
private
Visibility
VisibilityCache
4182
return
Visibility
.Visible;
4186
return
Visibility
.Hidden;
4190
return
Visibility
.Collapsed;
4195
Debug.Assert(value ==
Visibility
.Visible || value ==
Visibility
.Hidden || value ==
Visibility
.Collapsed);
4199
case
Visibility
.Visible:
4204
case
Visibility
.Hidden:
4209
case
Visibility
.Collapsed:
Core\CSharp\System\Windows\UIElement3D.cs (24)
88
VisibilityCache = (
Visibility
)VisibilityProperty.GetDefaultValue(DependencyObjectType);
674
Visibility
newVisibility = (
Visibility
)e.NewValue;
684
Visibility
value = (
Visibility
)o;
685
return (value ==
Visibility
.Visible) || (value ==
Visibility
.Hidden) || (value ==
Visibility
.Collapsed);
692
public
Visibility
Visibility
698
private void switchVisibilityIfNeeded(
Visibility
visibility)
702
case
Visibility
.Visible:
706
case
Visibility
.Hidden:
710
case
Visibility
.Collapsed:
1078
bool isVisible = (Visibility ==
Visibility
.Visible);
1342
private
Visibility
VisibilityCache
1348
return
Visibility
.Visible;
1352
return
Visibility
.Hidden;
1356
return
Visibility
.Collapsed;
1361
Debug.Assert(value ==
Visibility
.Visible || value ==
Visibility
.Hidden || value ==
Visibility
.Collapsed);
1365
case
Visibility
.Visible:
1370
case
Visibility
.Hidden:
1375
case
Visibility
.Collapsed:
PresentationFramework (194)
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (2)
346
_rbw.Value.Visibility =
Visibility
.Visible;
357
_rbw.Value.Visibility =
Visibility
.Hidden;
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
1358
SetValue(UIElement.VisibilityProperty,
Visibility
.Collapsed);
src\Framework\MS\Internal\Controls\TemplatedAdorner.cs (3)
183
Visibility
desired = AdornedElement.IsVisible ?
Visibility
.Visible :
Visibility
.Collapsed;
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (2)
59
findToolBarHost.Visibility =
Visibility
.Visible;
78
findToolBarHost.Visibility =
Visibility
.Collapsed;
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 (2)
1825
if (window.Visibility !=
Visibility
.Visible)
2562
w.Visibility =
Visibility
.Visible;
src\Framework\System\Windows\Controls\BooleanToVisibilityConverter.cs (5)
46
return (bValue) ?
Visibility
.Visible :
Visibility
.Collapsed;
59
if (value is
Visibility
)
61
return (
Visibility
)value ==
Visibility
.Visible;
src\Framework\System\Windows\Controls\DataGrid.cs (15)
1126
internal
Visibility
PlaceholderVisibility
1155
if (row.DetailsVisibility ==
Visibility
.Visible && row.DetailsPresenter != null)
1303
public void SetDetailsVisibilityForItem(object item,
Visibility
detailsVisibility)
1319
public
Visibility
GetDetailsVisibilityForItem(object item)
1324
return (
Visibility
)detailsVisibility;
1337
return SelectedItems.Contains(item) ?
Visibility
.Visible :
Visibility
.Collapsed;
1339
return
Visibility
.Visible;
1341
return
Visibility
.Collapsed;
3797
_placeholderVisibility =
Visibility
.Visible;
3806
_placeholderVisibility =
Visibility
.Collapsed;
3812
_placeholderVisibility =
Visibility
.Collapsed;
3972
row.DetailsVisibility ==
Visibility
.Visible &&
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\DataGridColumn.cs (11)
1506
typeof(
Visibility
),
1508
new FrameworkPropertyMetadata(
Visibility
.Visible, new PropertyChangedCallback(OnVisibilityPropertyChanged)));
1513
public
Visibility
Visibility
1515
get { return (
Visibility
)GetValue(VisibilityProperty); }
1524
Visibility
oldVisibility = (
Visibility
)eventArgs.OldValue;
1525
Visibility
newVisibility = (
Visibility
)eventArgs.NewValue;
1527
if (oldVisibility !=
Visibility
.Visible && newVisibility !=
Visibility
.Visible)
1545
return Visibility ==
Visibility
.Visible;
src\Framework\System\Windows\Controls\DataGridHeadersVisibilityToVisibilityConverter.cs (3)
53
if (targetType == typeof(
Visibility
))
55
return visible ?
Visibility
.Visible :
Visibility
.Collapsed;
src\Framework\System\Windows\Controls\DataGridRow.cs (11)
390
public
Visibility
DetailsVisibility
392
get { return (
Visibility
)GetValue(DetailsVisibilityProperty); }
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;
1351
get { return _detailsPresenter != null && _detailsPresenter.Visibility ==
Visibility
.Visible; }
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (6)
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\InkCanvas.cs (2)
3167
return
Visibility
.Visible;
3171
return
Visibility
.Collapsed;
src\Framework\System\Windows\Controls\MenuScrollingVisibilityConverter.cs (7)
59
!typeof(
Visibility
).IsAssignableFrom(values[0].GetType()) ||
78
Visibility
computedVerticalScrollBarVisibility = (
Visibility
)values[0];
79
if (computedVerticalScrollBarVisibility ==
Visibility
.Visible)
104
return
Visibility
.Collapsed;
108
return
Visibility
.Visible;
111
return
Visibility
.Collapsed;
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 (12)
88
public
Visibility
SeparatorVisibility
90
get { return (
Visibility
)GetValue(SeparatorVisibilityProperty); }
98
DependencyProperty.Register("SeparatorVisibility", typeof(
Visibility
), typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(
Visibility
.Visible));
522
_leftGripper.Visibility =
Visibility
.Visible;
526
_leftGripper.Visibility =
Visibility
.Collapsed;
540
_rightGripper.Visibility =
Visibility
.Visible;
544
_rightGripper.Visibility =
Visibility
.Collapsed;
572
bool oldIsVisible = (((
Visibility
)e.OldValue) ==
Visibility
.Visible);
573
bool newIsVisible = (((
Visibility
)e.NewValue) ==
Visibility
.Visible);
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (5)
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 (8)
166
public
Visibility
SeparatorVisibility
168
get { return (
Visibility
)GetValue(SeparatorVisibilityProperty); }
176
DependencyProperty.Register("SeparatorVisibility", typeof(
Visibility
), typeof(DataGridRowHeader), new FrameworkPropertyMetadata(
Visibility
.Visible));
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\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 (4)
664
if (Visibility !=
Visibility
.Hidden)
666
Visibility =
Visibility
.Hidden;
675
else if (Visibility !=
Visibility
.Visible)
677
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\ScrollViewer.cs (26)
262
&& ( ( _scrollVisibilityX ==
Visibility
.Collapsed
264
|| ( _scrollVisibilityX ==
Visibility
.Visible
275
&& ((_scrollVisibilityY ==
Visibility
.Collapsed
277
|| (_scrollVisibilityY ==
Visibility
.Visible
345
public
Visibility
ComputedHorizontalScrollBarVisibility
353
public
Visibility
ComputedVerticalScrollBarVisibility
571
typeof(
Visibility
),
573
new FrameworkPropertyMetadata(
Visibility
.Visible));
589
typeof(
Visibility
),
591
new FrameworkPropertyMetadata(
Visibility
.Visible));
1196
Visibility
vv = (vsbv == ScrollBarVisibility.Visible) ?
Visibility
.Visible :
Visibility
.Collapsed;
1197
Visibility
hv = (hsbv == ScrollBarVisibility.Visible) ?
Visibility
.Visible :
Visibility
.Collapsed;
1237
if (_scrollVisibilityX !=
Visibility
.Visible)
1239
_scrollVisibilityX =
Visibility
.Visible;
1246
if (_scrollVisibilityY !=
Visibility
.Visible)
1248
_scrollVisibilityY =
Visibility
.Visible;
1282
if (_scrollVisibilityX !=
Visibility
.Visible)
1284
_scrollVisibilityX =
Visibility
.Visible;
1290
if (_scrollVisibilityY !=
Visibility
.Visible)
1292
_scrollVisibilityY =
Visibility
.Visible;
2924
private
Visibility
_scrollVisibilityX;
2925
private
Visibility
_scrollVisibilityY;
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\TabControl.cs (1)
473
if (tabItem != null && tabItem.IsEnabled && tabItem.Visibility ==
Visibility
.Visible)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (16)
9761
Visibility
oldvv = sv.ComputedVerticalScrollBarVisibility;
9762
Visibility
newvv = DoubleUtil.LessThanOrClose(extentSize.Height, viewportSize.Height) ?
Visibility
.Collapsed :
Visibility
.Visible;
9777
Visibility
oldhv = sv.ComputedHorizontalScrollBarVisibility;
9778
Visibility
newhv = DoubleUtil.LessThanOrClose(extentSize.Width, viewportSize.Width) ?
Visibility
.Collapsed :
Visibility
.Visible;
10478
Visibility
oldvv = sv.ComputedVerticalScrollBarVisibility;
10479
Visibility
newvv = DoubleUtil.LessThanOrClose(extentSize.Height, viewportSize.Height) ?
Visibility
.Collapsed :
Visibility
.Visible;
10494
Visibility
oldhv = sv.ComputedHorizontalScrollBarVisibility;
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 (3)
1007
case
Visibility
.Visible:
1010
case
Visibility
.Collapsed:
1013
case
Visibility
.Hidden:
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3976
bamlMember.TypeConverterType = typeof(System.Windows.
Visibility
);
src\Framework\System\Windows\Shell\ThumbButtonInfo.cs (4)
24
typeof(
Visibility
),
26
new PropertyMetadata(
Visibility
.Visible));
31
public
Visibility
Visibility
33
get { return (
Visibility
)GetValue(VisibilityProperty); }
src\Framework\System\Windows\Window.cs (17)
87
VisibilityProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(
Visibility
.Collapsed, new PropertyChangedCallback(_OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility)));
212
UpdateVisibilityProperty(
Visibility
.Visible);
240
UpdateVisibilityProperty(
Visibility
.Hidden);
2203
internal static bool VisibilityToBool(
Visibility
v)
2207
case
Visibility
.Visible:
2209
case
Visibility
.Hidden:
2210
case
Visibility
.Collapsed:
5233
UpdateVisibilityProperty(
Visibility
.Hidden);
5245
UpdateVisibilityProperty(
Visibility
.Visible);
5576
Visibility
newValue = (
Visibility
)value;
5577
if (newValue ==
Visibility
.Visible)
5615
bool visibilityValue = VisibilityToBool((
Visibility
) e.NewValue);
5681
private void UpdateVisibilityProperty(
Visibility
value)
7071
case
Visibility
.Collapsed:
7076
case
Visibility
.Hidden:
7084
case
Visibility
.Visible:
PresentationFramework.Aero (5)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
168
if (SeparatorVisibility ==
Visibility
.Visible)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
152
public
Visibility
SeparatorVisibility
154
get { return (
Visibility
)GetValue(SeparatorVisibilityProperty); }
162
DependencyProperty.Register("SeparatorVisibility", typeof(
Visibility
), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(
Visibility
.Visible));
PresentationFramework.Classic (6)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
66
if (SeparatorVisibility ==
Visibility
.Visible && SeparatorBrush != null)
84
if (SeparatorVisibility ==
Visibility
.Visible && SeparatorBrush != null)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
152
public
Visibility
SeparatorVisibility
154
get { return (
Visibility
)GetValue(SeparatorVisibilityProperty); }
162
DependencyProperty.Register("SeparatorVisibility", typeof(
Visibility
), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(
Visibility
.Visible));
PresentationFramework.Luna (5)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
260
if (SeparatorVisibility ==
Visibility
.Visible)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
152
public
Visibility
SeparatorVisibility
154
get { return (
Visibility
)GetValue(SeparatorVisibilityProperty); }
162
DependencyProperty.Register("SeparatorVisibility", typeof(
Visibility
), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(
Visibility
.Visible));
PresentationFramework.Royale (5)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
182
if (SeparatorVisibility ==
Visibility
.Visible)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
152
public
Visibility
SeparatorVisibility
154
get { return (
Visibility
)GetValue(SeparatorVisibilityProperty); }
162
DependencyProperty.Register("SeparatorVisibility", typeof(
Visibility
), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(
Visibility
.Visible));
System.Activities.Core.Presentation (57)
System\Activities\Core\Presentation\CaseKeyBox.ViewModel.cs (14)
26
DependencyProperty.Register("ComboBoxVisibility", typeof(
Visibility
), typeof(CaseKeyBoxViewModel), new UIPropertyMetadata(
Visibility
.Collapsed));
38
DependencyProperty.Register("TextBoxVisibility", typeof(
Visibility
), typeof(CaseKeyBoxViewModel), new UIPropertyMetadata(
Visibility
.Visible));
62
public
Visibility
ComboBoxVisibility
64
get { return (
Visibility
)GetValue(ComboBoxVisibilityProperty); }
80
public
Visibility
TextBoxVisibility
82
get { return (
Visibility
)GetValue(TextBoxVisibilityProperty); }
180
this.ComboBoxVisibility =
Visibility
.Visible;
181
this.TextBoxVisibility =
Visibility
.Collapsed;
194
this.ComboBoxVisibility =
Visibility
.Collapsed;
195
this.TextBoxVisibility =
Visibility
.Visible;
200
this.ComboBoxVisibility =
Visibility
.Visible;
201
this.TextBoxVisibility =
Visibility
.Collapsed;
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (1)
309
if (control != null && control.Visibility ==
Visibility
.Visible)
System\Activities\Core\Presentation\CaseLabelVisibilityConverter.cs (2)
19
return
Visibility
.Collapsed;
23
return
Visibility
.Visible;
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\FlowDecisionDesigner.xaml.cs (6)
25
DependencyProperty.Register("ExpressionButtonVisibility", typeof(
Visibility
), typeof(FlowDecisionDesigner));
91
public
Visibility
ExpressionButtonVisibility
93
get { return (
Visibility
)GetValue(ExpressionButtonVisibilityProperty); }
165
this.ExpressionButtonVisibility = expressionSpecified ?
Visibility
.Visible :
Visibility
.Collapsed;
261
view.Visibility =
Visibility
.Collapsed;
System\Activities\Core\Presentation\FlowSwitchCaseEditorDialog.cs (1)
52
Visibility =
Visibility
.Visible,
System\Activities\Core\Presentation\FlowSwitchDesigner.xaml.cs (6)
30
DependencyProperty.Register("ExpressionButtonVisibility", typeof(
Visibility
), typeof(FlowSwitchDesigner));
96
public
Visibility
ExpressionButtonVisibility
98
get { return (
Visibility
)GetValue(ExpressionButtonVisibilityProperty); }
223
this.ExpressionButtonVisibility = expressionSpecified ?
Visibility
.Visible :
Visibility
.Collapsed;
319
view.Visibility =
Visibility
.Collapsed;
System\Activities\Core\Presentation\ParallelSeparator.xaml.cs (3)
47
this.dropTarget.Visibility =
Visibility
.Visible;
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 (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\Core\Presentation\VerticalConnector.xaml.cs (3)
42
this.dropTarget.Visibility =
Visibility
.Visible;
48
this.dropTarget.Visibility =
Visibility
.Collapsed;
53
this.dropTarget.Visibility =
Visibility
.Collapsed;
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (3)
260
this.WPF_DataGrid.Columns[DynamicArgumentDesigner.DirectionColumn].Visibility =
Visibility
.Hidden;
264
this.WPF_DataGrid.Columns[DynamicArgumentDesigner.DirectionColumn].Visibility =
Visibility
.Visible;
492
this.WPF_DataGrid.Columns[DynamicArgumentDesigner.NameColumn].Visibility =
Visibility
.Hidden;
System\ServiceModel\Activities\Presentation\ContentCorrelationTypeExpander.xaml.cs (2)
137
this.emptyContent.Visibility = null == this.TypesToExpand || 0 == this.TypesToExpand.Count ?
Visibility
.Visible :
Visibility
.Collapsed;
System.Activities.Presentation (213)
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\AnnotationManager.cs (17)
241
this.Indicator.Visibility =
Visibility
.Collapsed;
244
this.DockedAnnotation.Visibility =
Visibility
.Collapsed;
251
this.Indicator.Visibility =
Visibility
.Collapsed;
252
this.DockedAnnotation.Visibility =
Visibility
.Visible;
257
this.Indicator.Visibility =
Visibility
.Visible;
258
this.DockedAnnotation.Visibility =
Visibility
.Collapsed;
375
this.Indicator.Visibility =
Visibility
.Collapsed;
378
this.dockedAnnotation.Visibility =
Visibility
.Collapsed;
389
this.Indicator.Visibility =
Visibility
.Collapsed;
390
this.DockedAnnotation.Visibility =
Visibility
.Visible;
395
this.Indicator.Visibility =
Visibility
.Visible;
514
this.Indicator.Visibility =
Visibility
.Visible;
517
this.DockedAnnotation.Visibility =
Visibility
.Collapsed;
544
this.Indicator.Visibility =
Visibility
.Visible;
546
this.DockedAnnotation.Visibility =
Visibility
.Collapsed;
567
this.Indicator.Visibility =
Visibility
.Collapsed;
568
this.DockedAnnotation.Visibility =
Visibility
.Visible;
System.Activities.Presentation\System\Activities\Presentation\Annotations\DockedAnnotationView.xaml.cs (4)
55
this.undockButton.Visibility =
Visibility
.Visible;
56
this.border.Visibility =
Visibility
.Visible;
60
this.undockButton.Visibility =
Visibility
.Hidden;
61
this.border.Visibility =
Visibility
.Hidden;
System.Activities.Presentation\System\Activities\Presentation\Annotations\IAnnotationIndicator.cs (1)
20
Visibility
Visibility
System.Activities.Presentation\System\Activities\Presentation\Annotations\IDockedAnnotation.cs (1)
20
Visibility
Visibility
System.Activities.Presentation\System\Activities\Presentation\Annotations\UIElementToAnnotationIndicatorAdapter.cs (1)
50
public
Visibility
Visibility
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\Data\BoolToVisibilityCollpasedConverter.cs (7)
35
Visibility
visibility = (
Visibility
)o;
36
return ((visibility ==
Visibility
.Visible) ^ this.invertBoolean);
41
Visibility
result =
Visibility
.Collapsed;
47
result =
Visibility
.Visible;
54
result =
Visibility
.Visible;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\BoolToVisibilityHiddenConverter.cs (5)
36
Visibility
visibility = (
Visibility
)o;
37
bool result = visibility ==
Visibility
.Visible;
52
return show ?
Visibility
.Visible :
Visibility
.Hidden;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\IntegerToVisibilityConverter.cs (6)
24
private
Visibility
zeroValue =
Visibility
.Collapsed;
26
private
Visibility
nonzeroValue =
Visibility
.Visible;
28
public
Visibility
ZeroValue
34
public
Visibility
NonzeroValue
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ValueConverters.cs (7)
77
Fx.Assert(o.GetType() == typeof(
Visibility
), "Object to inverse-transform isn't a CheckState.");
78
Visibility
value = (
Visibility
)o;
79
return value ==
Visibility
.Visible ? true : false;
89
return
Visibility
.Visible;
95
return (object)(value ?
Visibility
.Visible :
Visibility
.Collapsed);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\VisibilityOrConverter.cs (5)
26
if (!(value is
Visibility
) || ((
Visibility
)value) !=
Visibility
.Visible)
28
return
Visibility
.Collapsed;
32
return
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\ContextMenuUtilities.cs (2)
151
control.Visibility =
Visibility
.Visible;
155
control.Visibility =
Visibility
.Collapsed;
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (3)
882
if (this.Visibility ==
Visibility
.Hidden)
884
this.Visibility =
Visibility
.Visible;
933
this.Visibility =
Visibility
.Hidden;
System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (4)
116
StackTraceVisibility = string.IsNullOrEmpty(stackTrace) ?
Visibility
.Collapsed :
Visibility
.Visible,
128
public
Visibility
StackTraceVisibility { get; set; }
196
if (this.StackTraceVisibility ==
Visibility
.Visible)
System.Activities.Presentation\System\Activities\Presentation\ExpandButtonVisibilityConverter.cs (4)
37
public static
Visibility
GetExpandCollapseButtonVisibility(WorkflowViewElement viewElement)
42
Visibility
visibility =
Visibility
.Visible;
47
visibility =
Visibility
.Collapsed;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorLabelVisibilityConverter.cs (3)
22
Visibility
connectorLabelVisibility =
Visibility
.Collapsed;
30
connectorLabelVisibility =
Visibility
.Visible;
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (5)
657
Action<
Visibility
> onSetDesignerContentVisibilityDelegate;
737
this.onSetDesignerContentVisibilityDelegate(
Visibility
.Hidden);
739
Dispatcher.CurrentDispatcher.BeginInvoke(this.onSetDesignerContentVisibilityDelegate, DispatcherPriority.ApplicationIdle,
Visibility
.Visible);
1016
void ChangeDesignerViewVisibility(
Visibility
state)
1023
Mouse.OverrideCursor = (state ==
Visibility
.Visible ? null : Cursors.Wait);
System.Activities.Presentation\System\Activities\Presentation\Toolbox\TreeViewContainerStyleSelector.cs (6)
80
enableTrigger.Value =
Visibility
.Collapsed;
146
var
result =
Visibility
.Collapsed;
153
result =
Visibility
.Visible;
159
result =
Visibility
.Collapsed;
163
result =
Visibility
.Visible;
System.Activities.Presentation\System\Activities\Presentation\VerticalConnector.xaml.cs (3)
26
this.dropTarget.Visibility =
Visibility
.Visible;
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\ArgumentDesigner.xaml.cs (1)
278
if (this.Visibility ==
Visibility
.Visible)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
437
while (null != column && column.Visibility ==
Visibility
.Hidden && this.dataGrid.Columns.Count > index)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (40)
135
Func<WorkflowViewElement, bool,
Visibility
> navigateToParentFunction;
136
Func<WorkflowViewElement, bool,
Visibility
> navigateToChildFunction;
260
return result ?
Visibility
.Visible :
Visibility
.Collapsed;
277
return result ?
Visibility
.Visible :
Visibility
.Collapsed;
456
entry.Visibility =
Visibility
.Visible;
572
visible = ((MenuItem)contextMenuItem).Visibility ==
Visibility
.Visible;
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;
1033
item.Visibility =
Visibility
.Visible;
1071
item.Visibility =
Visibility
.Collapsed;
1075
item.Visibility =
Visibility
.Visible;
1286
item.Visibility =
Visibility
.Collapsed;
1546
item.Visibility =
Visibility
.Visible;
1552
item.Visibility =
Visibility
.Collapsed;
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (29)
123
this.buttonPanMode.Visibility = this.IsPanModeEnabled ?
Visibility
.Visible :
Visibility
.Collapsed;
887
this.splitter.Visibility =
Visibility
.Collapsed;
888
this.bottomPanel.Visibility =
Visibility
.Collapsed;
1010
window.Visibility = button.IsChecked.Value ?
Visibility
.Visible :
Visibility
.Hidden;
1017
if (uiElement.Visibility ==
Visibility
.Collapsed)
1030
this.bottomPanel.Visibility =
Visibility
.Visible;
1032
this.splitter.Visibility =
Visibility
.Visible;
1033
uiElement.Visibility =
Visibility
.Visible;
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;
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)
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (4)
240
((ExtensionWindow)sender).OnVisibilityChanged((
Visibility
)e.OldValue, (
Visibility
)e.NewValue);
257
protected virtual void OnVisibilityChanged(
Visibility
oldValue,
Visibility
newValue)
System.Activities.Presentation\System\Activities\Presentation\View\FilterableData.cs (4)
20
DependencyProperty.Register("Visibility", typeof(
Visibility
), typeof(FilterableData), new UIPropertyMetadata(
Visibility
.Visible));
34
public
Visibility
Visibility
36
get { return (
Visibility
)GetValue(VisibilityProperty); }
System.Activities.Presentation\System\Activities\Presentation\View\SpacerPlaceholder.xaml.cs (2)
26
this.dropTarget.Visibility =
Visibility
.Visible;
30
this.dropTarget.Visibility =
Visibility
.Collapsed;
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (16)
143
this.LocalAssembly.Visibility =
Visibility
.Collapsed;
147
this.LocalAssembly.Visibility =
Visibility
.Visible;
442
private
Visibility
visibility;
448
this.visibility =
Visibility
.Visible;
491
public
Visibility
Visibility
745
Visibility
assemblyVisibility =
Visibility
.Collapsed;
750
assemblyVisibility =
Visibility
.Visible;
755
Visibility
namespaceVisibility =
Visibility
.Collapsed;
760
namespaceVisibility =
Visibility
.Visible;
767
entry.Visibility =
Visibility
.Visible;
771
entry.Visibility =
Visibility
.Visible;
772
assemblyVisibility =
Visibility
.Visible;
774
namespaceVisibility =
Visibility
.Visible;
793
entry.Visibility =
Visibility
.Collapsed;
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (9)
191
if (this.typeComboBox.Visibility ==
Visibility
.Visible && this.typeComboBox.IsDropDownOpen)
506
ctrl.typeComboBox.Visibility =
Visibility
.Visible;
507
ctrl.typeTextBlock.Visibility =
Visibility
.Collapsed;
512
ctrl.typeComboBox.Visibility =
Visibility
.Collapsed;
513
ctrl.typeTextBlock.Visibility =
Visibility
.Visible;
571
this.typeTextBlock.Visibility =
Visibility
.Visible;
572
this.typeComboBox.Visibility =
Visibility
.Collapsed;
580
this.typeTextBlock.Visibility =
Visibility
.Collapsed;
581
this.typeComboBox.Visibility =
Visibility
.Visible;
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 (4)
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;