29 references to VisibilityProperty
PresentationCore (3)
System\Windows\UIElement.cs (2)
123
VisibilityCache = (Visibility)
VisibilityProperty
.GetDefaultValue(DependencyObjectType);
2987
set { SetValue(
VisibilityProperty
, VisibilityBoxes.Box(value)); }
System\Windows\UIElement3D.cs (1)
656
UIElement.
VisibilityProperty
.AddOwner(
PresentationFramework (14)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
1343
SetValue(UIElement.
VisibilityProperty
, Visibility.Collapsed);
System\Windows\Controls\DataGrid.cs (1)
3814
newItemPlaceholderRow.CoerceValue(
VisibilityProperty
);
System\Windows\Controls\DataGridRow.cs (2)
101
VisibilityProperty
.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnCoerceVisibility));
1006
CoerceValue(
VisibilityProperty
); // Handle NewItemPlaceholder case
System\Windows\Controls\InkCanvas.cs (1)
652
_selectionAdorner.SetBinding(UIElement.
VisibilityProperty
, activeEditingModeBinding);
System\Windows\Controls\Primitives\Popup.cs (1)
64
VisibilityProperty
.OverrideMetadata(typeof(Popup), new FrameworkPropertyMetadata(VisibilityBoxes.CollapsedBox, null, new CoerceValueCallback(CoerceVisibility)));
System\Windows\Controls\ScrollViewer.cs (2)
2724
hsb.SetValue(UIElement.
VisibilityProperty
, new TemplateBindingExtension(ComputedHorizontalScrollBarVisibilityProperty));
2734
vsb.SetValue(UIElement.
VisibilityProperty
, new TemplateBindingExtension(ComputedVerticalScrollBarVisibilityProperty));
System\Windows\Documents\TextSchema.cs (1)
1196
UIElement.
VisibilityProperty
,
System\Windows\Interop\ActiveXHost.cs (1)
78
invalidatorMap[UIElement.
VisibilityProperty
] = new PropertyInvalidator(OnVisibilityInvalidated);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3993
DependencyProperty dp = System.Windows.UIElement.
VisibilityProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1956
return System.Windows.UIElement.
VisibilityProperty
;
System\Windows\Window.cs (2)
77
VisibilityProperty
.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(Visibility.Collapsed, new PropertyChangedCallback(_OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility)));
5482
SetValue(
VisibilityProperty
, value);
System.Windows.Controls.Ribbon (12)
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (4)
54
VisibilityProperty
.OverrideMetadata(typeof(RibbonContextualTabGroup), new FrameworkPropertyMetadata(Visibility.Collapsed, new PropertyChangedCallback(OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility)));
470
tab.CoerceValue(
VisibilityProperty
);
475
tab.CoerceValue(
VisibilityProperty
);
490
tab.CoerceValue(
VisibilityProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (2)
37
VisibilityProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceVisibility)));
116
CoerceValue(
VisibilityProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (4)
49
VisibilityProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(Visibility.Visible, new PropertyChangedCallback(OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility)));
615
CoerceValue(
VisibilityProperty
);
680
tab.RibbonTabHeader.CoerceValue(
VisibilityProperty
);
773
ribbonTab.CoerceValue(
VisibilityProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (2)
40
VisibilityProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceVisibility)));
404
CoerceValue(
VisibilityProperty
);