29 references to VisibilityProperty
PresentationCore (3)
System\Windows\UIElement.cs (2)
118
VisibilityCache = (Visibility)
VisibilityProperty
.GetDefaultValue(DependencyObjectType);
2982
set { SetValue(
VisibilityProperty
, VisibilityBoxes.Box(value)); }
System\Windows\UIElement3D.cs (1)
641
UIElement.
VisibilityProperty
.AddOwner(
PresentationFramework (14)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
1333
SetValue(UIElement.
VisibilityProperty
, Visibility.Collapsed);
System\Windows\Controls\DataGrid.cs (1)
3811
newItemPlaceholderRow.CoerceValue(
VisibilityProperty
);
System\Windows\Controls\DataGridRow.cs (2)
97
VisibilityProperty
.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnCoerceVisibility));
1002
CoerceValue(
VisibilityProperty
); // Handle NewItemPlaceholder case
System\Windows\Controls\InkCanvas.cs (1)
640
_selectionAdorner.SetBinding(UIElement.
VisibilityProperty
, activeEditingModeBinding);
System\Windows\Controls\Primitives\Popup.cs (1)
57
VisibilityProperty
.OverrideMetadata(typeof(Popup), new FrameworkPropertyMetadata(VisibilityBoxes.CollapsedBox, null, new CoerceValueCallback(CoerceVisibility)));
System\Windows\Controls\ScrollViewer.cs (2)
2716
hsb.SetValue(UIElement.
VisibilityProperty
, new TemplateBindingExtension(ComputedHorizontalScrollBarVisibilityProperty));
2726
vsb.SetValue(UIElement.
VisibilityProperty
, new TemplateBindingExtension(ComputedVerticalScrollBarVisibilityProperty));
System\Windows\Documents\TextSchema.cs (1)
1195
UIElement.
VisibilityProperty
,
System\Windows\Interop\ActiveXHost.cs (1)
68
invalidatorMap[UIElement.
VisibilityProperty
] = new PropertyInvalidator(OnVisibilityInvalidated);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3991
DependencyProperty dp = System.Windows.UIElement.
VisibilityProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1956
return System.Windows.UIElement.
VisibilityProperty
;
System\Windows\Window.cs (2)
64
VisibilityProperty
.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(Visibility.Collapsed, new PropertyChangedCallback(_OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility)));
5469
SetValue(
VisibilityProperty
, value);
System.Windows.Controls.Ribbon (12)
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (4)
52
VisibilityProperty
.OverrideMetadata(typeof(RibbonContextualTabGroup), new FrameworkPropertyMetadata(Visibility.Collapsed, new PropertyChangedCallback(OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility)));
468
tab.CoerceValue(
VisibilityProperty
);
473
tab.CoerceValue(
VisibilityProperty
);
488
tab.CoerceValue(
VisibilityProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (2)
35
VisibilityProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceVisibility)));
114
CoerceValue(
VisibilityProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (4)
47
VisibilityProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(Visibility.Visible, new PropertyChangedCallback(OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility)));
613
CoerceValue(
VisibilityProperty
);
678
tab.RibbonTabHeader.CoerceValue(
VisibilityProperty
);
771
ribbonTab.CoerceValue(
VisibilityProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (2)
38
VisibilityProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceVisibility)));
402
CoerceValue(
VisibilityProperty
);