2 types derived from UIPropertyMetadata
PresentationCore (1)
System\Windows\Media\Animation\IndependentlyAnimatedPropertyMetadata.cs (1)
14
internal class IndependentlyAnimatedPropertyMetadata :
UIPropertyMetadata
PresentationFramework (1)
System\Windows\FrameworkPropertyMetadata.cs (1)
67
public class FrameworkPropertyMetadata :
UIPropertyMetadata
104 instantiations of UIPropertyMetadata
Microsoft.VisualStudio.LanguageServices (1)
Utilities\BindableTextBlock.cs (1)
24
DependencyProperty.Register(nameof(InlineCollection), typeof(IList<Inline>), typeof(BindableTextBlock), new
UIPropertyMetadata
(null, OnPropertyChanged));
PresentationCore (59)
MS\Internal\Media\TextOptionsInternal.cs (1)
32
new
UIPropertyMetadata
(TextHintingMode.Auto),
System\Windows\Automation\AutomationProperties.cs (14)
21
new
UIPropertyMetadata
(string.Empty),
54
new
UIPropertyMetadata
(string.Empty),
87
new
UIPropertyMetadata
(string.Empty),
120
new
UIPropertyMetadata
(string.Empty),
153
new
UIPropertyMetadata
(string.Empty),
186
new
UIPropertyMetadata
(string.Empty),
219
new
UIPropertyMetadata
(string.Empty),
348
new
UIPropertyMetadata
((UIElement)null));
380
new
UIPropertyMetadata
(IsOffscreenBehavior.Default));
412
new
UIPropertyMetadata
(AutomationLiveSetting.Off));
448
new
UIPropertyMetadata
(AutomationProperties.AutomationPositionInSetDefault));
484
new
UIPropertyMetadata
(AutomationProperties.AutomationSizeOfSetDefault));
513
new
UIPropertyMetadata
(AutomationHeadingLevel.None));
542
new
UIPropertyMetadata
(false));
System\Windows\ContentElement.cs (2)
609
new
UIPropertyMetadata
(
717
new
UIPropertyMetadata
(
System\Windows\Input\Command\InputBinding.cs (1)
62
DependencyProperty.Register("Command", typeof(ICommand), typeof(InputBinding), new
UIPropertyMetadata
(null, new PropertyChangedCallback(OnCommandPropertyChanged)));
System\Windows\Input\Command\KeyBinding.cs (2)
106
DependencyProperty.Register("Modifiers", typeof(ModifierKeys), typeof(KeyBinding), new
UIPropertyMetadata
(ModifierKeys.None, new PropertyChangedCallback(OnModifiersPropertyChanged)));
133
DependencyProperty.Register("Key", typeof(Key), typeof(KeyBinding), new
UIPropertyMetadata
(Key.None, new PropertyChangedCallback(OnKeyPropertyChanged)));
System\Windows\Input\Command\MouseBinding.cs (1)
123
DependencyProperty.Register("MouseAction", typeof(MouseAction), typeof(MouseBinding), new
UIPropertyMetadata
(MouseAction.None, new PropertyChangedCallback(OnMouseActionPropertyChanged)));
System\Windows\InterOp\D3DImage.cs (1)
49
new
UIPropertyMetadata
(
System\Windows\Media\Animation\Animatable.cs (1)
146
propertyMetadata = new
UIPropertyMetadata
(defaultValue);
System\Windows\Media\BitmapCacheBrush.cs (2)
394
TransformProperty.OverrideMetadata(typeofThis, new
UIPropertyMetadata
(null, /* PropertyChangedHandle */ null, CoerceTransform));
395
RelativeTransformProperty.OverrideMetadata(typeofThis, new
UIPropertyMetadata
(null, /* PropertyChangedHandle */ null, CoerceRelativeTransform));
System\Windows\Media\Effects\ShaderEffect.cs (1)
343
new
UIPropertyMetadata
(Effect.ImplicitInput,
System\Windows\Media\Generated\DrawingGroup.cs (3)
856
new
UIPropertyMetadata
(EdgeMode.Unspecified,
861
new
UIPropertyMetadata
(BitmapScalingMode.Unspecified,
866
new
UIPropertyMetadata
(ClearTypeHint.Auto,
System\Windows\Media\Generated\TileBrush.cs (3)
421
new
UIPropertyMetadata
(CachingHint.Unspecified,
426
new
UIPropertyMetadata
(0.707,
431
new
UIPropertyMetadata
(1.414,
System\Windows\Media\RenderOptions.cs (6)
39
new
UIPropertyMetadata
(EdgeMode.Unspecified),
72
new
UIPropertyMetadata
(BitmapScalingMode.Unspecified),
105
new
UIPropertyMetadata
(ClearTypeHint.Auto),
139
new
UIPropertyMetadata
(CachingHint.Unspecified),
172
new
UIPropertyMetadata
(0.707),
205
new
UIPropertyMetadata
(1.414),
System\Windows\Media3D\Viewport2DVisual3D.cs (3)
892
new
UIPropertyMetadata
(
908
new
UIPropertyMetadata
(
925
new
UIPropertyMetadata
(
System\Windows\UIElement.cs (14)
85
new
UIPropertyMetadata
(new PropertyChangedCallback(EdgeMode_Changed)));
89
new
UIPropertyMetadata
(new PropertyChangedCallback(BitmapScalingMode_Changed)));
93
new
UIPropertyMetadata
(new PropertyChangedCallback(ClearTypeHint_Changed)));
97
new
UIPropertyMetadata
(new PropertyChangedCallback(TextHintingMode_Changed)));
2679
new
UIPropertyMetadata
(
2714
new
UIPropertyMetadata
(new PropertyChangedCallback(OpacityMask_Changed)));
2746
new
UIPropertyMetadata
(new PropertyChangedCallback(OnBitmapEffectChanged)));
2780
new
UIPropertyMetadata
(new PropertyChangedCallback(OnEffectChanged)));
2810
new
UIPropertyMetadata
(new PropertyChangedCallback(OnBitmapEffectInputChanged)));
2887
new
UIPropertyMetadata
(new PropertyChangedCallback(OnCacheModeChanged)));
2935
new
UIPropertyMetadata
(String.Empty));
3583
new
UIPropertyMetadata
(
3710
new
UIPropertyMetadata
(
3938
new
UIPropertyMetadata
(
System\Windows\UIElement3D.cs (3)
819
new
UIPropertyMetadata
(
940
new
UIPropertyMetadata
(
1158
new
UIPropertyMetadata
(
System\Windows\UIPropertyMetadata.cs (1)
93
return new
UIPropertyMetadata
();
PresentationFramework (26)
System\Windows\Controls\ComboBox.cs (2)
69
IsEnabledProperty.OverrideMetadata(typeof(ComboBox), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
70
IsMouseOverPropertyKey.OverrideMetadata(typeof(ComboBox), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\DataGridCell.cs (1)
47
IsMouseOverPropertyKey.OverrideMetadata(typeof(DataGridCell), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\DataGridRow.cs (1)
110
IsMouseOverPropertyKey.OverrideMetadata(typeof(DataGridRow), new
UIPropertyMetadata
(new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged)));
System\Windows\Controls\DatePicker.cs (1)
93
IsEnabledProperty.OverrideMetadata(typeof(DatePicker), new
UIPropertyMetadata
(new PropertyChangedCallback(OnIsEnabledChanged)));
System\Windows\Controls\Expander.cs (2)
64
IsMouseOverPropertyKey.OverrideMetadata(typeof(Expander), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
65
IsEnabledProperty.OverrideMetadata(typeof(Expander), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\ListBoxItem.cs (2)
56
IsEnabledProperty.OverrideMetadata(typeof(ListBoxItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
57
IsMouseOverPropertyKey.OverrideMetadata(typeof(ListBoxItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\PasswordBox.cs (2)
83
IsEnabledProperty.OverrideMetadata(typeof(PasswordBox), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
84
IsMouseOverPropertyKey.OverrideMetadata(typeof(PasswordBox), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\ButtonBase.cs (2)
47
IsMouseOverPropertyKey.OverrideMetadata(typeof(ButtonBase), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
48
IsEnabledProperty.OverrideMetadata(typeof(ButtonBase), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\CalendarItem.cs (1)
69
IsEnabledProperty.OverrideMetadata(typeof(CalendarItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\RangeBase.cs (2)
42
IsEnabledProperty.OverrideMetadata(typeof(RangeBase), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
43
IsMouseOverPropertyKey.OverrideMetadata(typeof(RangeBase), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
71
IsEnabledProperty.OverrideMetadata(typeof(TextBoxBase), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
72
IsMouseOverPropertyKey.OverrideMetadata(typeof(TextBoxBase), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\Thumb.cs (2)
60
IsEnabledProperty.OverrideMetadata(typeof(Thumb), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
61
IsMouseOverPropertyKey.OverrideMetadata(typeof(Thumb), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\Track.cs (1)
46
IsEnabledProperty.OverrideMetadata(typeof(Track), new
UIPropertyMetadata
(new PropertyChangedCallback(OnIsEnabledChanged)));
System\Windows\Controls\TabControl.cs (1)
50
IsEnabledProperty.OverrideMetadata(typeof(TabControl), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\TabItem.cs (2)
61
IsEnabledProperty.OverrideMetadata(typeof(TabItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
62
IsMouseOverPropertyKey.OverrideMetadata(typeof(TabItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\TreeViewItem.cs (2)
43
IsMouseOverPropertyKey.OverrideMetadata(typeof(TreeViewItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
44
IsEnabledProperty.OverrideMetadata(typeof(TreeViewItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System.Windows.Controls.Ribbon (18)
Microsoft\Windows\Controls\KeyTipService.cs (6)
143
new
UIPropertyMetadata
(null, new PropertyChangedCallback(OnKeyTipScopeChanged)));
433
new
UIPropertyMetadata
(null, new PropertyChangedCallback(OnCustomSiblingKeyTipElementsChanged)));
1298
DependencyProperty.RegisterAttached("CanClipKeyTip", typeof(bool), typeof(KeyTipService), new
UIPropertyMetadata
(true));
1347
DependencyProperty.RegisterAttached("KeyTipAdorner", typeof(KeyTipAdorner), typeof(KeyTipService), new
UIPropertyMetadata
(null));
1350
DependencyProperty.RegisterAttached("KeyTipAdornerHolder", typeof(UIElement), typeof(KeyTipService), new
UIPropertyMetadata
(null));
1354
new
UIPropertyMetadata
(false, new PropertyChangedCallback(OnShowingKeyTipChanged)));
Microsoft\Windows\Controls\Ribbon\Primitives\StarLayoutInfo.cs (4)
32
new
UIPropertyMetadata
(0.0),
46
new
UIPropertyMetadata
(0.0, new PropertyChangedCallback(OnRequestedStarMinWidthChanged)),
60
new
UIPropertyMetadata
(double.PositiveInfinity, null, new CoerceValueCallback(OnCoerceRequestedStarMaxWidth)),
74
new
UIPropertyMetadata
(0.0, null, new CoerceValueCallback(OnCoerceAllocatedStarWidth)));
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
208
new
UIPropertyMetadata
(Visibility.Visible, OnWindowIconVisibilityChanged));
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
129
DependencyProperty.Register("ContextualTabGroupHeader", typeof(object), typeof(RibbonTab), new
UIPropertyMetadata
(null, new PropertyChangedCallback(OnContextualTabGroupHeaderChanged)));
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (6)
160
DependencyProperty.RegisterReadOnly("HasHeader", typeof(bool), typeof(RibbonToolTip), new
UIPropertyMetadata
(false));
193
DependencyProperty.Register("FooterTitle", typeof(string), typeof(RibbonToolTip), new
UIPropertyMetadata
(new PropertyChangedCallback(OnToolTipFooterPropertyChanged)));
208
DependencyProperty.Register("FooterDescription", typeof(string), typeof(RibbonToolTip), new
UIPropertyMetadata
(new PropertyChangedCallback(OnToolTipFooterPropertyChanged)));
223
DependencyProperty.Register("FooterImageSource", typeof(ImageSource), typeof(RibbonToolTip), new
UIPropertyMetadata
(new PropertyChangedCallback(OnToolTipFooterPropertyChanged)));
238
DependencyProperty.RegisterReadOnly("HasFooter", typeof(bool), typeof(RibbonToolTip), new
UIPropertyMetadata
(false));
262
DependencyProperty.RegisterReadOnly("IsPlacementTargetInRibbonGroup", typeof(bool), typeof(RibbonToolTip), new
UIPropertyMetadata
(false));
3 references to UIPropertyMetadata
PresentationCore (3)
System\Windows\Media\Animation\Animatable.cs (1)
135
UIPropertyMetadata
propertyMetadata;
System\Windows\Media\Animation\AnimationStorage.cs (2)
1036
UIPropertyMetadata
uiMetadata = dp.GetMetadata(d.DependencyObjectType) as
UIPropertyMetadata
;