502 references to Visibility
Microsoft.CodeAnalysis.EditorFeatures.Wpf (18)
InlineRename\UI\Adornment\RenameFlyoutViewModel.cs (4)
70
=> Visibility = this.Session.IsCommitInProgress ?
Visibility
.Collapsed :
Visibility
.Visible;
217
private
Visibility
_visibility;
218
public
Visibility
Visibility
InlineRename\UI\Dashboard\RenameDashboard.xaml.cs (2)
132
((UIElement)_textView.Caret).Visibility =
Visibility
.Visible;
276
public
Visibility
RenameOverloadsVisibility => _model.RenameOverloadsVisibility;
InlineRename\UI\Dashboard\RenameDashboardViewModel.cs (7)
28
private
Visibility
_visibility;
61
?
Visibility
.Visible :
Visibility
.Collapsed;
182
public
Visibility
Visibility
269
public
Visibility
RenameOverloadsVisibility
270
=> Session.HasRenameOverloads ?
Visibility
.Visible :
Visibility
.Collapsed;
Preview\PreviewFactoryService.cs (2)
103
host.GetTextViewMargin(DiffOverviewMarginName).VisualElement.Visibility =
Visibility
.Collapsed;
104
host.GetTextViewMargin(PredefinedMarginNames.Bottom).VisualElement.Visibility =
Visibility
.Collapsed;
QuickInfo\OnTheFlyDocsViewStateVisibilityConverter.cs (3)
13
/// Converts the <see cref="OnTheFlyDocsState"/> of the view to a <see cref="
Visibility
"/> value.
18
=> value is OnTheFlyDocsState state && parameter is OnTheFlyDocsState targetState && state == targetState ?
Visibility
.Visible :
Visibility
.Collapsed;
Microsoft.VisualStudio.LanguageServices (58)
ChangeSignature\AddParameterDialogViewModel.cs (24)
27
TypeIsEmptyImage =
Visibility
.Visible;
28
TypeBindsImage =
Visibility
.Collapsed;
29
TypeDoesNotParseOrInvalidTypeImage =
Visibility
.Collapsed;
30
TypeDoesNotBindImage =
Visibility
.Collapsed;
101
public
Visibility
TypeBindsImage { get; set; }
102
public
Visibility
TypeDoesNotBindImage { get; set; }
103
public
Visibility
TypeDoesNotParseOrInvalidTypeImage { get; set; }
104
public
Visibility
TypeIsEmptyImage { get; set; }
186
TypeIsEmptyImage =
Visibility
.Visible;
187
TypeDoesNotParseOrInvalidTypeImage =
Visibility
.Collapsed;
188
TypeDoesNotBindImage =
Visibility
.Collapsed;
189
TypeBindsImage =
Visibility
.Collapsed;
196
TypeIsEmptyImage =
Visibility
.Collapsed;
204
TypeDoesNotParseOrInvalidTypeImage =
Visibility
.Visible;
205
TypeDoesNotBindImage =
Visibility
.Collapsed;
206
TypeBindsImage =
Visibility
.Collapsed;
211
TypeDoesNotParseOrInvalidTypeImage =
Visibility
.Visible;
212
TypeDoesNotBindImage =
Visibility
.Collapsed;
213
TypeBindsImage =
Visibility
.Collapsed;
219
TypeDoesNotParseOrInvalidTypeImage =
Visibility
.Collapsed;
221
TypeBindsImage = parameterTypeBinds ?
Visibility
.Visible :
Visibility
.Collapsed;
222
TypeDoesNotBindImage = !parameterTypeBinds ?
Visibility
.Visible :
Visibility
.Collapsed;
ChangeSignature\ChangeSignatureDialogViewModel.cs (3)
121
parameter.HasParameterNameConflict =
Visibility
.Collapsed;
132
matchingParameter.HasParameterNameConflict =
Visibility
.Visible;
137
matchingParameters.Single().HasParameterNameConflict =
Visibility
.Collapsed;
ChangeSignature\ChangeSignatureDialogViewModel.ParameterViewModels.cs (6)
50
public
Visibility
HasParameterNameConflict { get; set; }
52
public virtual
Visibility
TypeWarningVisibility =>
Visibility
.Collapsed;
111
public override
Visibility
TypeWarningVisibility => _addedParameter.TypeBinds ?
Visibility
.Collapsed :
Visibility
.Visible;
CommonControls\MemberSelection.xaml.cs (2)
48
AbstractColumn.Visibility = ViewModel.ShowMakeAbstract ?
Visibility
.Visible :
Visibility
.Collapsed;
DocumentOutline\DocumentOutlineViewModel.cs (6)
59
private
Visibility
_visibility_doNotAccessDirectly =
Visibility
.Visible;
172
public
Visibility
Visibility
268
if (Visibility !=
Visibility
.Visible)
287
if (Visibility !=
Visibility
.Visible)
340
if (Visibility !=
Visibility
.Visible)
EditorConfigSettings\SettingsEditorControl.xaml.cs (2)
137
prevFrame.Visibility =
Visibility
.Hidden;
138
currentFrame.Visibility =
Visibility
.Visible;
InheritanceMargin\InheritanceMarginViewMargin.cs (2)
139
!_globalOptions.GetOption(InheritanceMarginOptionsStorage.InheritanceMarginCombinedWithIndicatorMargin) ?
Visibility
.Visible :
Visibility
.Collapsed;
PreviewPane\PreviewPane.xaml.cs (8)
68
HeaderStackPanel.Visibility =
Visibility
.Visible;
97
OptionsButton.Visibility =
Visibility
.Collapsed;
139
HeaderSeparator.Visibility =
Visibility
.Visible;
140
PreviewDockPanel.Visibility =
Visibility
.Visible;
320
ExpanderToggleButton.Visibility =
Visibility
.Visible;
402
DescriptionDockPanel.Visibility =
Visibility
.Visible;
406
LearnMoreTextBlock.Visibility =
Visibility
.Visible;
418
DescriptionDockPanel.Visibility =
Visibility
.Collapsed;
Utilities\MemberSymbolViewModel.cs (3)
27
public
Visibility
MakeAbstractVisibility => Symbol.Kind == SymbolKind.Field || Symbol.IsAbstract ?
Visibility
.Hidden :
Visibility
.Visible;
ValueTracking\ValueTrackingRoot.xaml.cs (2)
29
EmptyTextMessage.Visibility =
Visibility
.Visible;
33
EmptyTextMessage.Visibility =
Visibility
.Collapsed;
Microsoft.VisualStudio.LanguageServices.UnitTests (12)
ChangeSignature\AddParameterViewModelTests.vb (12)
257
Assert.True(viewModel.TypeIsEmptyImage = If(NameOf(viewModel.TypeIsEmptyImage) = currentIcon,
Visibility
.Visible,
Visibility
.Collapsed))
258
Assert.True(viewModel.TypeDoesNotParseOrInvalidTypeImage = If(NameOf(viewModel.TypeDoesNotParseOrInvalidTypeImage) = currentIcon,
Visibility
.Visible,
Visibility
.Collapsed))
259
Assert.True(viewModel.TypeDoesNotBindImage = If(NameOf(viewModel.TypeDoesNotBindImage) = currentIcon,
Visibility
.Visible,
Visibility
.Collapsed))
260
Assert.True(viewModel.TypeBindsImage = If(NameOf(viewModel.TypeBindsImage) = currentIcon,
Visibility
.Visible,
Visibility
.Collapsed))
268
Assert.True(viewModel.TypeIsEmptyImage =
Visibility
.Visible)
269
Assert.True(viewModel.TypeDoesNotParseOrInvalidTypeImage =
Visibility
.Collapsed)
270
Assert.True(viewModel.TypeDoesNotBindImage =
Visibility
.Collapsed)
271
Assert.True(viewModel.TypeBindsImage =
Visibility
.Collapsed)
PresentationCore (64)
MS\Internal\Automation\ElementUtil.cs (1)
260
if ( !(sibling is UIElement) || (((UIElement)sibling).Visibility ==
Visibility
.Visible ) )
MS\Internal\KnownBoxes.cs (6)
30
internal static object VisibleBox =
Visibility
.Visible;
31
internal static object HiddenBox =
Visibility
.Hidden;
32
internal static object CollapsedBox =
Visibility
.Collapsed;
34
internal static object Box(
Visibility
value)
36
if (value ==
Visibility
.Visible)
40
else if (value ==
Visibility
.Hidden)
System\Windows\Input\AccessKeyManager.cs (2)
501
Visibility
visibility;
515
if (visibility !=
Visibility
.Visible)
System\Windows\LayoutManager.cs (1)
904
if (p != null && p.Visibility !=
Visibility
.Collapsed) //not yet a root or a collapsed node
System\Windows\UIElement.cs (30)
118
VisibilityCache = (
Visibility
) VisibilityProperty.GetDefaultValue(DependencyObjectType);
178
if(this.Visibility ==
Visibility
.Collapsed)
600
if (this.Visibility ==
Visibility
.Collapsed
813
if (this.Visibility ==
Visibility
.Collapsed
1306
if (this.Visibility ==
Visibility
.Collapsed)
2698
if(this.Visibility ==
Visibility
.Visible)
2950
typeof(
Visibility
),
2961
Visibility
newVisibility = (
Visibility
) e.NewValue;
2971
Visibility
value = (
Visibility
) o;
2972
return (value ==
Visibility
.Visible) || (value ==
Visibility
.Hidden) || (value ==
Visibility
.Collapsed);
2979
public
Visibility
Visibility
2985
private void switchVisibilityIfNeeded(
Visibility
visibility)
2989
case
Visibility
.Visible:
2993
case
Visibility
.Hidden:
2997
case
Visibility
.Collapsed:
3839
bool isVisible = (Visibility ==
Visibility
.Visible);
4128
private
Visibility
VisibilityCache
4134
return
Visibility
.Visible;
4138
return
Visibility
.Hidden;
4142
return
Visibility
.Collapsed;
4147
Debug.Assert(value ==
Visibility
.Visible || value ==
Visibility
.Hidden || value ==
Visibility
.Collapsed);
4151
case
Visibility
.Visible:
4156
case
Visibility
.Hidden:
4161
case
Visibility
.Collapsed:
System\Windows\UIElement3D.cs (24)
66
VisibilityCache = (
Visibility
)VisibilityProperty.GetDefaultValue(DependencyObjectType);
651
Visibility
newVisibility = (
Visibility
)e.NewValue;
661
Visibility
value = (
Visibility
)o;
662
return (value ==
Visibility
.Visible) || (value ==
Visibility
.Hidden) || (value ==
Visibility
.Collapsed);
669
public
Visibility
Visibility
675
private void switchVisibilityIfNeeded(
Visibility
visibility)
679
case
Visibility
.Visible:
683
case
Visibility
.Hidden:
687
case
Visibility
.Collapsed:
1050
bool isVisible = (Visibility ==
Visibility
.Visible);
1313
private
Visibility
VisibilityCache
1319
return
Visibility
.Visible;
1323
return
Visibility
.Hidden;
1327
return
Visibility
.Collapsed;
1332
Debug.Assert(value ==
Visibility
.Visible || value ==
Visibility
.Hidden || value ==
Visibility
.Collapsed);
1336
case
Visibility
.Visible:
1341
case
Visibility
.Hidden:
1346
case
Visibility
.Collapsed:
PresentationFramework (191)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
1333
SetValue(UIElement.VisibilityProperty,
Visibility
.Collapsed);
MS\Internal\Controls\TemplatedAdorner.cs (3)
173
Visibility
desired = AdornedElement.IsVisible ?
Visibility
.Visible :
Visibility
.Collapsed;
MS\Internal\Documents\DocumentViewerHelper.cs (2)
47
findToolBarHost.Visibility =
Visibility
.Visible;
66
findToolBarHost.Visibility =
Visibility
.Collapsed;
MS\Internal\Ink\InkCanvasSelection.cs (2)
880
Debug.Assert(_inkCanvas.SelectionAdorner.Visibility ==
Visibility
.Visible,
887
Debug.Assert(_inkCanvas.SelectionAdorner.Visibility ==
Visibility
.Collapsed,
MS\Internal\Ink\LassoSelectionBehavior.cs (1)
392
if (childElement.Visibility !=
Visibility
.Visible)
System\Windows\Application.cs (2)
1730
if (window.Visibility !=
Visibility
.Visible)
2343
w.Visibility =
Visibility
.Visible;
System\Windows\Controls\BooleanToVisibilityConverter.cs (5)
38
return (bValue) ?
Visibility
.Visible :
Visibility
.Collapsed;
51
if (value is
Visibility
)
53
return (
Visibility
)value ==
Visibility
.Visible;
System\Windows\Controls\DataGrid.cs (15)
1122
internal
Visibility
PlaceholderVisibility
1151
if (row.DetailsVisibility ==
Visibility
.Visible && row.DetailsPresenter != null)
1299
public void SetDetailsVisibilityForItem(object item,
Visibility
detailsVisibility)
1315
public
Visibility
GetDetailsVisibilityForItem(object item)
1320
return (
Visibility
)detailsVisibility;
1333
return SelectedItems.Contains(item) ?
Visibility
.Visible :
Visibility
.Collapsed;
1335
return
Visibility
.Visible;
1337
return
Visibility
.Collapsed;
3789
_placeholderVisibility =
Visibility
.Visible;
3798
_placeholderVisibility =
Visibility
.Collapsed;
3804
_placeholderVisibility =
Visibility
.Collapsed;
3964
row.DetailsVisibility ==
Visibility
.Visible &&
8658
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.
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;
System\Windows\Controls\DataGridHeadersVisibilityToVisibilityConverter.cs (3)
50
if (targetType == typeof(
Visibility
))
52
return visible ?
Visibility
.Visible :
Visibility
.Collapsed;
System\Windows\Controls\DataGridRow.cs (11)
385
public
Visibility
DetailsVisibility
387
get { return (
Visibility
)GetValue(DetailsVisibilityProperty); }
395
DependencyProperty.Register("DetailsVisibility", typeof(
Visibility
), typeof(DataGridRow), new FrameworkPropertyMetadata(
Visibility
.Collapsed, OnNotifyDetailsVisibilityChanged, OnCoerceDetailsVisibility));
724
visibility =
Visibility
.Collapsed;
727
visibility = hasDetailsTemplate && isRealItem ?
Visibility
.Visible :
Visibility
.Collapsed;
730
visibility = row.IsSelected && hasDetailsTemplate && isRealItem ?
Visibility
.Visible :
Visibility
.Collapsed;
733
visibility =
Visibility
.Collapsed;
1346
get { return _detailsPresenter != null && _detailsPresenter.Visibility ==
Visibility
.Visible; }
System\Windows\Controls\FlowDocumentScrollViewer.cs (6)
109
_toolBarHost.Visibility = IsToolBarVisible ?
Visibility
.Visible :
Visibility
.Collapsed;
936
_toolBarHost.Visibility = enable ?
Visibility
.Visible :
Visibility
.Collapsed;
1754
viewer._toolBarHost.Visibility = (bool)e.NewValue ?
Visibility
.Visible :
Visibility
.Collapsed;
System\Windows\Controls\GridViewHeaderRowPresenter.cs (7)
478
_indicator.Visibility = _floatingHeader.Visibility = isDisplayingFloatingHeader ?
Visibility
.Visible :
Visibility
.Hidden;
1139
indicator.Visibility =
Visibility
.Hidden;
1193
header.Visibility =
Visibility
.Hidden;
1211
_floatingHeader.Visibility =
Visibility
.Hidden;
1545
_floatingHeader.Visibility =
Visibility
.Hidden;
1548
_indicator.Visibility =
Visibility
.Hidden;
System\Windows\Controls\InkCanvas.cs (2)
3008
return
Visibility
.Visible;
3012
return
Visibility
.Collapsed;
System\Windows\Controls\MenuScrollingVisibilityConverter.cs (7)
45
values[0] is not
Visibility
||
63
Visibility
computedVerticalScrollBarVisibility = (
Visibility
)values[0];
64
if (computedVerticalScrollBarVisibility ==
Visibility
.Visible)
89
return
Visibility
.Collapsed;
93
return
Visibility
.Visible;
96
return
Visibility
.Collapsed;
System\Windows\Controls\Primitives\CalendarItem.cs (5)
1077
childButton.Visibility =
Visibility
.Visible;
1083
childButton.Visibility =
Visibility
.Hidden;
1126
childButton.Visibility =
Visibility
.Hidden;
1252
childButton.Visibility =
Visibility
.Visible;
1296
childButton.Visibility =
Visibility
.Visible;
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (12)
82
public
Visibility
SeparatorVisibility
84
get { return (
Visibility
)GetValue(SeparatorVisibilityProperty); }
92
DependencyProperty.Register("SeparatorVisibility", typeof(
Visibility
), typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(
Visibility
.Visible));
516
_leftGripper.Visibility =
Visibility
.Visible;
520
_leftGripper.Visibility =
Visibility
.Collapsed;
534
_rightGripper.Visibility =
Visibility
.Visible;
538
_rightGripper.Visibility =
Visibility
.Collapsed;
566
bool oldIsVisible = (((
Visibility
)e.OldValue) ==
Visibility
.Visible);
567
bool newIsVisible = (((
Visibility
)e.NewValue) ==
Visibility
.Visible);
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (5)
551
Visibility
dragIndicatorVisibility = shouldDisplayDragIndicator ?
Visibility
.Visible :
Visibility
.Collapsed;
821
_columnHeaderDragIndicator.Visibility =
Visibility
.Collapsed;
833
_columnHeaderDropLocationIndicator.Visibility =
Visibility
.Collapsed;
System\Windows\Controls\Primitives\DataGridRowHeader.cs (8)
160
public
Visibility
SeparatorVisibility
162
get { return (
Visibility
)GetValue(SeparatorVisibilityProperty); }
170
DependencyProperty.Register("SeparatorVisibility", typeof(
Visibility
), typeof(DataGridRowHeader), new FrameworkPropertyMetadata(
Visibility
.Visible));
651
_topGripper.Visibility =
Visibility
.Visible;
655
_topGripper.Visibility =
Visibility
.Collapsed;
667
_bottomGripper.Visibility =
Visibility
.Visible;
671
_bottomGripper.Visibility =
Visibility
.Collapsed;
System\Windows\Controls\Primitives\TabPanel.cs (6)
97
if (child.Visibility ==
Visibility
.Collapsed)
141
if (child.Visibility ==
Visibility
.Collapsed)
215
if (child.Visibility ==
Visibility
.Collapsed)
253
if (child.Visibility ==
Visibility
.Collapsed)
302
if (child.Visibility !=
Visibility
.Collapsed)
322
if (child.Visibility ==
Visibility
.Collapsed)
System\Windows\Controls\Primitives\Track.cs (4)
651
if (Visibility !=
Visibility
.Hidden)
653
Visibility =
Visibility
.Hidden;
662
else if (Visibility !=
Visibility
.Visible)
664
Visibility =
Visibility
.Visible;
System\Windows\Controls\Primitives\UniformGrid.cs (2)
214
if (child.Visibility !=
Visibility
.Collapsed)
266
if (child.Visibility !=
Visibility
.Collapsed)
System\Windows\Controls\ScrollViewer.cs (26)
251
&& ( ( _scrollVisibilityX ==
Visibility
.Collapsed
253
|| ( _scrollVisibilityX ==
Visibility
.Visible
264
&& ((_scrollVisibilityY ==
Visibility
.Collapsed
266
|| (_scrollVisibilityY ==
Visibility
.Visible
334
public
Visibility
ComputedHorizontalScrollBarVisibility
342
public
Visibility
ComputedVerticalScrollBarVisibility
542
typeof(
Visibility
),
544
new FrameworkPropertyMetadata(
Visibility
.Visible));
560
typeof(
Visibility
),
562
new FrameworkPropertyMetadata(
Visibility
.Visible));
1161
Visibility
vv = (vsbv == ScrollBarVisibility.Visible) ?
Visibility
.Visible :
Visibility
.Collapsed;
1162
Visibility
hv = (hsbv == ScrollBarVisibility.Visible) ?
Visibility
.Visible :
Visibility
.Collapsed;
1202
if (_scrollVisibilityX !=
Visibility
.Visible)
1204
_scrollVisibilityX =
Visibility
.Visible;
1211
if (_scrollVisibilityY !=
Visibility
.Visible)
1213
_scrollVisibilityY =
Visibility
.Visible;
1247
if (_scrollVisibilityX !=
Visibility
.Visible)
1249
_scrollVisibilityX =
Visibility
.Visible;
1255
if (_scrollVisibilityY !=
Visibility
.Visible)
1257
_scrollVisibilityY =
Visibility
.Visible;
2876
private
Visibility
_scrollVisibilityX;
2877
private
Visibility
_scrollVisibilityY;
System\Windows\Controls\TabControl.cs (1)
462
if (tabItem != null && tabItem.IsEnabled && tabItem.Visibility ==
Visibility
.Visible)
System\Windows\Controls\VirtualizingStackPanel.cs (16)
9906
Visibility
oldvv = sv.ComputedVerticalScrollBarVisibility;
9907
Visibility
newvv = DoubleUtil.LessThanOrClose(extentSize.Height, viewportSize.Height) ?
Visibility
.Collapsed :
Visibility
.Visible;
9922
Visibility
oldhv = sv.ComputedHorizontalScrollBarVisibility;
9923
Visibility
newhv = DoubleUtil.LessThanOrClose(extentSize.Width, viewportSize.Width) ?
Visibility
.Collapsed :
Visibility
.Visible;
10623
Visibility
oldvv = sv.ComputedVerticalScrollBarVisibility;
10624
Visibility
newvv = DoubleUtil.LessThanOrClose(extentSize.Height, viewportSize.Height) ?
Visibility
.Collapsed :
Visibility
.Visible;
10639
Visibility
oldhv = sv.ComputedHorizontalScrollBarVisibility;
10640
Visibility
newhv = DoubleUtil.LessThanOrClose(extentSize.Width, viewportSize.Width) ?
Visibility
.Collapsed :
Visibility
.Visible;
System\Windows\Documents\FixedPage.cs (2)
127
path.Visibility =
Visibility
.Visible;
131
path.Visibility =
Visibility
.Hidden;
System\Windows\Generated\FrameworkElement.cs (1)
447
if (Visibility ==
Visibility
.Collapsed)
System\Windows\Interop\ActiveXHost.cs (3)
861
case
Visibility
.Visible:
864
case
Visibility
.Collapsed:
867
case
Visibility
.Hidden:
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3999
bamlMember.TypeConverterType = typeof(System.Windows.
Visibility
);
System\Windows\Shell\ThumbButtonInfo.cs (4)
23
typeof(
Visibility
),
25
new PropertyMetadata(
Visibility
.Visible));
30
public
Visibility
Visibility
32
get { return (
Visibility
)GetValue(VisibilityProperty); }
System\Windows\Window.cs (17)
64
VisibilityProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(
Visibility
.Collapsed, new PropertyChangedCallback(_OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility)));
173
UpdateVisibilityProperty(
Visibility
.Visible);
201
UpdateVisibilityProperty(
Visibility
.Hidden);
2162
internal static bool VisibilityToBool(
Visibility
v)
2166
case
Visibility
.Visible:
2168
case
Visibility
.Hidden:
2169
case
Visibility
.Collapsed:
5065
UpdateVisibilityProperty(
Visibility
.Hidden);
5077
UpdateVisibilityProperty(
Visibility
.Visible);
5368
Visibility
newValue = (
Visibility
)value;
5369
if (newValue ==
Visibility
.Visible)
5407
bool visibilityValue = VisibilityToBool((
Visibility
) e.NewValue);
5461
private void UpdateVisibilityProperty(
Visibility
value)
6757
case
Visibility
.Collapsed:
6762
case
Visibility
.Hidden:
6770
case
Visibility
.Visible:
PresentationFramework.Aero (5)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
163
if (SeparatorVisibility ==
Visibility
.Visible)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
150
public
Visibility
SeparatorVisibility
152
get { return (
Visibility
)GetValue(SeparatorVisibilityProperty); }
160
DependencyProperty.Register("SeparatorVisibility", typeof(
Visibility
), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(
Visibility
.Visible));
PresentationFramework.Aero2 (5)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
163
if (SeparatorVisibility ==
Visibility
.Visible)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
150
public
Visibility
SeparatorVisibility
152
get { return (
Visibility
)GetValue(SeparatorVisibilityProperty); }
160
DependencyProperty.Register("SeparatorVisibility", typeof(
Visibility
), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(
Visibility
.Visible));
PresentationFramework.AeroLite (5)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
114
if (SeparatorVisibility ==
Visibility
.Visible)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
150
public
Visibility
SeparatorVisibility
152
get { return (
Visibility
)GetValue(SeparatorVisibilityProperty); }
160
DependencyProperty.Register("SeparatorVisibility", typeof(
Visibility
), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(
Visibility
.Visible));
PresentationFramework.Classic (6)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
60
if (SeparatorVisibility ==
Visibility
.Visible && SeparatorBrush != null)
78
if (SeparatorVisibility ==
Visibility
.Visible && SeparatorBrush != null)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
150
public
Visibility
SeparatorVisibility
152
get { return (
Visibility
)GetValue(SeparatorVisibilityProperty); }
160
DependencyProperty.Register("SeparatorVisibility", typeof(
Visibility
), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(
Visibility
.Visible));
PresentationFramework.Luna (5)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
255
if (SeparatorVisibility ==
Visibility
.Visible)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
150
public
Visibility
SeparatorVisibility
152
get { return (
Visibility
)GetValue(SeparatorVisibilityProperty); }
160
DependencyProperty.Register("SeparatorVisibility", typeof(
Visibility
), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(
Visibility
.Visible));
PresentationFramework.Royale (5)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
177
if (SeparatorVisibility ==
Visibility
.Visible)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
150
public
Visibility
SeparatorVisibility
152
get { return (
Visibility
)GetValue(SeparatorVisibilityProperty); }
160
DependencyProperty.Register("SeparatorVisibility", typeof(
Visibility
), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(
Visibility
.Visible));
PresentationUI (24)
InstallationError.xaml.cs (5)
87
RetryButton.Visibility =
Visibility
.Visible;
92
RetryButton.Visibility =
Visibility
.Collapsed;
96
GetWinFXButton.Visibility =
Visibility
.Visible;
133
SupportUriText.Visibility =
Visibility
.Visible;
178
LogFileButton.Visibility =
Visibility
.Visible;
MS\Internal\Documents\Application\StatusInfoItem.cs (5)
70
public
Visibility
Visibility
120
this.Visibility =
Visibility
.Visible;
124
this.Visibility =
Visibility
.Collapsed;
143
this.Visibility =
Visibility
.Visible;
147
this.Visibility =
Visibility
.Collapsed;
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (7)
1208
ChangeControlVisibility(uie, uie.Visibility ==
Visibility
.Collapsed);
1223
uie.Visibility =
Visibility
.Visible;
1227
uie.Visibility =
Visibility
.Collapsed;
1260
if ((_digSigInfoBar.Visibility ==
Visibility
.Collapsed) &&
1261
(_rmInfoBar.Visibility ==
Visibility
.Collapsed))
1278
_digSigInfoBar.Visibility =
Visibility
.Collapsed;
1279
_rmInfoBar.Visibility =
Visibility
.Collapsed;
MS\Internal\Documents\FindToolBar.xaml.cs (2)
219
FindTextLabel.Visibility =
Visibility
.Hidden;
223
FindTextLabel.Visibility =
Visibility
.Visible;
TenFeetInstallationError.xaml.cs (5)
89
RetryButton.Visibility =
Visibility
.Visible;
96
RetryButton.Visibility =
Visibility
.Collapsed;
100
GetWinFXButton.Visibility =
Visibility
.Visible;
137
SupportUriText.Visibility =
Visibility
.Visible;
182
LogFileButton.Visibility =
Visibility
.Visible;
Roslyn.VisualStudio.DiagnosticsWindow (5)
OptionPages\InternalOptionsControl.cs (5)
58
item.Visibility =
Visibility
.Collapsed;
62
item.Visibility =
Visibility
.Visible;
68
clearButton.Click += (o, a) => optionsPanel.Children.OfType<CheckBox>().Do(c => c.Visibility =
Visibility
.Visible);
83
checkAllButton.Click += (o, a) => optionsPanel.Children.OfType<CheckBox>().Where(c => c.Visibility ==
Visibility
.Visible).Do(c => c.IsChecked = true);
86
uncheckAllButton.Click += (o, a) => optionsPanel.Children.OfType<CheckBox>().Where(c => c.Visibility ==
Visibility
.Visible).Do(c => c.IsChecked = false);
System.Windows.Controls.Ribbon (91)
Microsoft\Windows\Controls\ActivatingKeyTipEventArgs.cs (2)
40
KeyTipVisibility =
Visibility
.Visible;
118
public
Visibility
KeyTipVisibility
Microsoft\Windows\Controls\KeyTipService.cs (3)
1360
uie.Visibility !=
Visibility
.Visible)
1380
if (activatingEventArgs.KeyTipVisibility ==
Visibility
.Visible)
1412
if (activatingEventArgs.KeyTipVisibility !=
Visibility
.Collapsed)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (2)
51
if (tabGroupHeader.Visibility ==
Visibility
.Visible && tabGroupHeader.FirstVisibleTab != null && DoubleUtil.GreaterThanOrClose(remainingSpace, 0.0))
143
if (tabGroupHeader.Visibility ==
Visibility
.Visible && tabGroupHeader.ArrangeWidth > 0)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonScrollButtonVisibilityConverter.cs (8)
45
values[0] is not
Visibility
||
63
Visibility
computedScrollBarVisibility = (
Visibility
)values[0];
64
if (computedScrollBarVisibility ==
Visibility
.Visible)
86
return
Visibility
.Collapsed;
95
return
Visibility
.Collapsed;
98
return
Visibility
.Visible;
101
return
Visibility
.Collapsed;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTitlePanel.cs (4)
64
if (groupHeaderItemsControl != null && groupHeaderItemsControl.Visibility ==
Visibility
.Visible)
101
if (qat.Visibility ==
Visibility
.Visible)
181
if (tabGroups != null && tabGroups.Visibility ==
Visibility
.Visible)
267
if (tab.Visibility ==
Visibility
.Visible && tab.RibbonTabHeader != null)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (4)
192
public
Visibility
WindowIconVisibility
194
get { return (
Visibility
)GetValue(WindowIconVisibilityProperty); }
203
typeof(
Visibility
),
205
new UIPropertyMetadata(
Visibility
.Visible, OnWindowIconVisibilityChanged));
Microsoft\Windows\Controls\Ribbon\RibbonApplicationSplitMenuItem.cs (1)
216
e.KeyTipVisibility =
Visibility
.Collapsed;
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (5)
52
VisibilityProperty.OverrideMetadata(typeof(RibbonContextualTabGroup), new FrameworkPropertyMetadata(
Visibility
.Collapsed, new PropertyChangedCallback(OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility)));
237
if (tab.Visibility ==
Visibility
.Visible)
439
if ((
Visibility
)baseValue ==
Visibility
.Hidden)
440
return
Visibility
.Collapsed;
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (2)
189
if (tab != null && tab.Visibility ==
Visibility
.Visible)
247
return
Visibility
.Collapsed;
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (2)
110
if (ribbonControl != null && ribbonControl.Visibility !=
Visibility
.Collapsed)
113
if (contentChild != null && contentChild.Visibility !=
Visibility
.Collapsed)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
2377
category.Visibility =
Visibility
.Visible;
2381
category.Visibility =
Visibility
.Collapsed;
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (4)
621
typeof(
Visibility
),
626
new FrameworkPropertyMetadata(
Visibility
.Visible));
632
public
Visibility
HeaderVisibility
634
get { return (
Visibility
)GetValue(HeaderVisibilityProperty); }
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (16)
171
SetAppropriatePresenterVisibility(groupSizeDefinitions[_sizeDefinitionIndex] is RibbonGroupSizeDefinition ?
Visibility
.Visible :
Visibility
.Collapsed);
996
SetAppropriatePresenterVisibility(GroupSizeDefinitions[_sizeDefinitionIndex] is RibbonGroupSizeDefinition ?
Visibility
.Visible :
Visibility
.Collapsed);
1123
if (SetAppropriatePresenterVisibility(
Visibility
.Visible))
1140
SetAppropriatePresenterVisibility(
Visibility
.Collapsed);
1150
private bool SetAppropriatePresenterVisibility(
Visibility
itemsPresenterVisibility)
1156
if (itemsPresenterVisibility ==
Visibility
.Visible)
1164
_templateContentControl.Visibility = (itemsPresenterVisibility ==
Visibility
.Visible ?
Visibility
.Collapsed :
Visibility
.Visible);
1647
e.KeyTipVisibility =
Visibility
.Hidden;
1710
e.KeyTipVisibility =
Visibility
.Hidden;
1715
e.KeyTipVisibility =
Visibility
.Hidden;
1740
e.KeyTipVisibility =
Visibility
.Hidden;
1745
e.KeyTipVisibility =
Visibility
.Hidden;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
713
return container != null && container.Visibility ==
Visibility
.Visible;
799
if (category.Visibility !=
Visibility
.Visible)
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (3)
614
ribbonControl.Visibility ==
Visibility
.Visible &&
619
contentChild.Visibility ==
Visibility
.Visible &&
658
e.KeyTipVisibility =
Visibility
.Collapsed;
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (1)
378
e.KeyTipVisibility =
Visibility
.Collapsed;
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (15)
47
VisibilityProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(
Visibility
.Visible, new PropertyChangedCallback(OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility)));
640
Visibility
baseVisibility = (
Visibility
)value;
641
Visibility
contextualVisibility =
Visibility
.Visible;
659
contextualVisibility =
Visibility
.Collapsed;
662
if (baseVisibility !=
Visibility
.Visible ||
663
contextualVisibility !=
Visibility
.Visible)
665
return
Visibility
.Collapsed;
669
return
Visibility
.Visible;
685
(
Visibility
)e.OldValue ==
Visibility
.Visible &&
686
(
Visibility
)e.NewValue !=
Visibility
.Visible)
878
e.KeyTipVisibility =
Visibility
.Collapsed;
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (4)
658
e.KeyTipVisibility =
Visibility
.Hidden;
670
e.KeyTipVisibility =
Visibility
.Hidden;
685
e.KeyTipVisibility =
Visibility
.Hidden;
691
e.KeyTipVisibility =
Visibility
.Hidden;
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (8)
274
_textBlock1.Visibility =
Visibility
.Collapsed;
278
_textBlock2.Visibility =
Visibility
.Visible;
306
_textBlock1.Visibility =
Visibility
.Visible;
311
_textBlock2.Visibility =
Visibility
.Visible;
320
_textBlock1.Visibility =
Visibility
.Visible;
324
_textBlock2.Visibility =
Visibility
.Collapsed;
343
_textBlock1.Visibility =
Visibility
.Visible;
379
_textBlock1.Visibility =
Visibility
.Visible;
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (1)
305
internal void ChangeIconVisibility(
Visibility
newVisibility)
Microsoft\Windows\Controls\TextSearchInternal.cs (2)
143
if (childItemsControl != null && childItemsControl.Visibility ==
Visibility
.Visible)
504
if (childItemsControl != null && childItemsControl.Visibility ==
Visibility
.Visible)
WindowsFormsIntegration (8)
System\Windows\Integration\ElementHostPropertyMap.cs (3)
195
SW.
Visibility
toVisibility = ((fromVisible) ? SW.
Visibility
.Visible : SW.
Visibility
.Hidden);
System\Windows\Integration\WindowsFormsHost.cs (2)
238
if (this.Visibility ==
Visibility
.Collapsed || Child == null)
269
if (this.Visibility ==
Visibility
.Collapsed || Child == null)
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (3)
267
if (value is SW.
Visibility
)
273
windowsFormsHost.Child.Visible = ((SW.
Visibility
)value == SW.
Visibility
.Visible);