2 types derived from UIPropertyMetadata
PresentationCore (1)
System\Windows\Media\Animation\IndependentlyAnimatedPropertyMetadata.cs (1)
11
internal class IndependentlyAnimatedPropertyMetadata :
UIPropertyMetadata
PresentationFramework (1)
System\Windows\FrameworkPropertyMetadata.cs (1)
65
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)
31
new
UIPropertyMetadata
(TextHintingMode.Auto),
System\Windows\Automation\AutomationProperties.cs (14)
19
new
UIPropertyMetadata
(string.Empty),
52
new
UIPropertyMetadata
(string.Empty),
85
new
UIPropertyMetadata
(string.Empty),
118
new
UIPropertyMetadata
(string.Empty),
151
new
UIPropertyMetadata
(string.Empty),
184
new
UIPropertyMetadata
(string.Empty),
217
new
UIPropertyMetadata
(string.Empty),
346
new
UIPropertyMetadata
((UIElement)null));
378
new
UIPropertyMetadata
(IsOffscreenBehavior.Default));
410
new
UIPropertyMetadata
(AutomationLiveSetting.Off));
446
new
UIPropertyMetadata
(AutomationProperties.AutomationPositionInSetDefault));
482
new
UIPropertyMetadata
(AutomationProperties.AutomationSizeOfSetDefault));
511
new
UIPropertyMetadata
(AutomationHeadingLevel.None));
540
new
UIPropertyMetadata
(false));
System\Windows\ContentElement.cs (2)
598
new
UIPropertyMetadata
(
706
new
UIPropertyMetadata
(
System\Windows\Input\Command\InputBinding.cs (1)
58
DependencyProperty.Register("Command", typeof(ICommand), typeof(InputBinding), new
UIPropertyMetadata
(null, new PropertyChangedCallback(OnCommandPropertyChanged)));
System\Windows\Input\Command\KeyBinding.cs (2)
98
DependencyProperty.Register("Modifiers", typeof(ModifierKeys), typeof(KeyBinding), new
UIPropertyMetadata
(ModifierKeys.None, new PropertyChangedCallback(OnModifiersPropertyChanged)));
125
DependencyProperty.Register("Key", typeof(Key), typeof(KeyBinding), new
UIPropertyMetadata
(Key.None, new PropertyChangedCallback(OnKeyPropertyChanged)));
System\Windows\Input\Command\MouseBinding.cs (1)
114
DependencyProperty.Register("MouseAction", typeof(MouseAction), typeof(MouseBinding), new
UIPropertyMetadata
(MouseAction.None, new PropertyChangedCallback(OnMouseActionPropertyChanged)));
System\Windows\InterOp\D3DImage.cs (1)
37
new
UIPropertyMetadata
(
System\Windows\Media\Animation\Animatable.cs (1)
128
propertyMetadata = new
UIPropertyMetadata
(defaultValue);
System\Windows\Media\BitmapCacheBrush.cs (2)
380
TransformProperty.OverrideMetadata(typeofThis, new
UIPropertyMetadata
(null, propertyChangedCallback: null, CoerceTransform));
381
RelativeTransformProperty.OverrideMetadata(typeofThis, new
UIPropertyMetadata
(null, propertyChangedCallback: null, CoerceRelativeTransform));
System\Windows\Media\Effects\ShaderEffect.cs (1)
327
new
UIPropertyMetadata
(Effect.ImplicitInput,
System\Windows\Media\Generated\DrawingGroup.cs (3)
867
new
UIPropertyMetadata
(EdgeMode.Unspecified,
872
new
UIPropertyMetadata
(BitmapScalingMode.Unspecified,
877
new
UIPropertyMetadata
(ClearTypeHint.Auto,
System\Windows\Media\Generated\TileBrush.cs (3)
405
new
UIPropertyMetadata
(CachingHint.Unspecified,
410
new
UIPropertyMetadata
(0.707,
415
new
UIPropertyMetadata
(1.414,
System\Windows\Media\RenderOptions.cs (6)
35
new
UIPropertyMetadata
(EdgeMode.Unspecified),
68
new
UIPropertyMetadata
(BitmapScalingMode.Unspecified),
101
new
UIPropertyMetadata
(ClearTypeHint.Auto),
135
new
UIPropertyMetadata
(CachingHint.Unspecified),
168
new
UIPropertyMetadata
(0.707),
201
new
UIPropertyMetadata
(1.414),
System\Windows\Media3D\Viewport2DVisual3D.cs (3)
875
new
UIPropertyMetadata
(
891
new
UIPropertyMetadata
(
908
new
UIPropertyMetadata
(
System\Windows\UIElement.cs (14)
76
new
UIPropertyMetadata
(new PropertyChangedCallback(EdgeMode_Changed)));
80
new
UIPropertyMetadata
(new PropertyChangedCallback(BitmapScalingMode_Changed)));
84
new
UIPropertyMetadata
(new PropertyChangedCallback(ClearTypeHint_Changed)));
88
new
UIPropertyMetadata
(new PropertyChangedCallback(TextHintingMode_Changed)));
2666
new
UIPropertyMetadata
(
2701
new
UIPropertyMetadata
(new PropertyChangedCallback(OpacityMask_Changed)));
2733
new
UIPropertyMetadata
(new PropertyChangedCallback(OnBitmapEffectChanged)));
2767
new
UIPropertyMetadata
(new PropertyChangedCallback(OnEffectChanged)));
2797
new
UIPropertyMetadata
(new PropertyChangedCallback(OnBitmapEffectInputChanged)));
2874
new
UIPropertyMetadata
(new PropertyChangedCallback(OnCacheModeChanged)));
2922
new
UIPropertyMetadata
(String.Empty));
3564
new
UIPropertyMetadata
(
3690
new
UIPropertyMetadata
(
3918
new
UIPropertyMetadata
(
System\Windows\UIElement3D.cs (3)
804
new
UIPropertyMetadata
(
924
new
UIPropertyMetadata
(
1142
new
UIPropertyMetadata
(
System\Windows\UIPropertyMetadata.cs (1)
87
return new
UIPropertyMetadata
();
PresentationFramework (26)
System\Windows\Controls\ComboBox.cs (2)
59
IsEnabledProperty.OverrideMetadata(typeof(ComboBox), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
60
IsMouseOverPropertyKey.OverrideMetadata(typeof(ComboBox), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\DataGridCell.cs (1)
40
IsMouseOverPropertyKey.OverrideMetadata(typeof(DataGridCell), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\DataGridRow.cs (1)
106
IsMouseOverPropertyKey.OverrideMetadata(typeof(DataGridRow), new
UIPropertyMetadata
(new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged)));
System\Windows\Controls\DatePicker.cs (1)
89
IsEnabledProperty.OverrideMetadata(typeof(DatePicker), new
UIPropertyMetadata
(new PropertyChangedCallback(OnIsEnabledChanged)));
System\Windows\Controls\Expander.cs (2)
60
IsMouseOverPropertyKey.OverrideMetadata(typeof(Expander), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
61
IsEnabledProperty.OverrideMetadata(typeof(Expander), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\ListBoxItem.cs (2)
49
IsEnabledProperty.OverrideMetadata(typeof(ListBoxItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
50
IsMouseOverPropertyKey.OverrideMetadata(typeof(ListBoxItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\PasswordBox.cs (2)
69
IsEnabledProperty.OverrideMetadata(typeof(PasswordBox), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
70
IsMouseOverPropertyKey.OverrideMetadata(typeof(PasswordBox), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\ButtonBase.cs (2)
36
IsMouseOverPropertyKey.OverrideMetadata(typeof(ButtonBase), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
37
IsEnabledProperty.OverrideMetadata(typeof(ButtonBase), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\CalendarItem.cs (1)
64
IsEnabledProperty.OverrideMetadata(typeof(CalendarItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\RangeBase.cs (2)
30
IsEnabledProperty.OverrideMetadata(typeof(RangeBase), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
31
IsMouseOverPropertyKey.OverrideMetadata(typeof(RangeBase), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
62
IsEnabledProperty.OverrideMetadata(typeof(TextBoxBase), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
63
IsMouseOverPropertyKey.OverrideMetadata(typeof(TextBoxBase), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\Thumb.cs (2)
46
IsEnabledProperty.OverrideMetadata(typeof(Thumb), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
47
IsMouseOverPropertyKey.OverrideMetadata(typeof(Thumb), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\Track.cs (1)
35
IsEnabledProperty.OverrideMetadata(typeof(Track), new
UIPropertyMetadata
(new PropertyChangedCallback(OnIsEnabledChanged)));
System\Windows\Controls\TabControl.cs (1)
40
IsEnabledProperty.OverrideMetadata(typeof(TabControl), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\TabItem.cs (2)
55
IsEnabledProperty.OverrideMetadata(typeof(TabItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
56
IsMouseOverPropertyKey.OverrideMetadata(typeof(TabItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\TreeViewItem.cs (2)
39
IsMouseOverPropertyKey.OverrideMetadata(typeof(TreeViewItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
40
IsEnabledProperty.OverrideMetadata(typeof(TreeViewItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System.Windows.Controls.Ribbon (18)
Microsoft\Windows\Controls\KeyTipService.cs (6)
141
new
UIPropertyMetadata
(null, new PropertyChangedCallback(OnKeyTipScopeChanged)));
428
new
UIPropertyMetadata
(null, new PropertyChangedCallback(OnCustomSiblingKeyTipElementsChanged)));
1291
DependencyProperty.RegisterAttached("CanClipKeyTip", typeof(bool), typeof(KeyTipService), new
UIPropertyMetadata
(true));
1340
DependencyProperty.RegisterAttached("KeyTipAdorner", typeof(KeyTipAdorner), typeof(KeyTipService), new
UIPropertyMetadata
(null));
1343
DependencyProperty.RegisterAttached("KeyTipAdornerHolder", typeof(UIElement), typeof(KeyTipService), new
UIPropertyMetadata
(null));
1347
new
UIPropertyMetadata
(false, new PropertyChangedCallback(OnShowingKeyTipChanged)));
Microsoft\Windows\Controls\Ribbon\Primitives\StarLayoutInfo.cs (4)
31
new
UIPropertyMetadata
(0.0),
45
new
UIPropertyMetadata
(0.0, new PropertyChangedCallback(OnRequestedStarMinWidthChanged)),
59
new
UIPropertyMetadata
(double.PositiveInfinity, null, new CoerceValueCallback(OnCoerceRequestedStarMaxWidth)),
73
new
UIPropertyMetadata
(0.0, null, new CoerceValueCallback(OnCoerceAllocatedStarWidth)));
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
205
new
UIPropertyMetadata
(Visibility.Visible, OnWindowIconVisibilityChanged));
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
127
DependencyProperty.Register("ContextualTabGroupHeader", typeof(object), typeof(RibbonTab), new
UIPropertyMetadata
(null, new PropertyChangedCallback(OnContextualTabGroupHeaderChanged)));
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (6)
157
DependencyProperty.RegisterReadOnly("HasHeader", typeof(bool), typeof(RibbonToolTip), new
UIPropertyMetadata
(false));
190
DependencyProperty.Register("FooterTitle", typeof(string), typeof(RibbonToolTip), new
UIPropertyMetadata
(new PropertyChangedCallback(OnToolTipFooterPropertyChanged)));
205
DependencyProperty.Register("FooterDescription", typeof(string), typeof(RibbonToolTip), new
UIPropertyMetadata
(new PropertyChangedCallback(OnToolTipFooterPropertyChanged)));
220
DependencyProperty.Register("FooterImageSource", typeof(ImageSource), typeof(RibbonToolTip), new
UIPropertyMetadata
(new PropertyChangedCallback(OnToolTipFooterPropertyChanged)));
235
DependencyProperty.RegisterReadOnly("HasFooter", typeof(bool), typeof(RibbonToolTip), new
UIPropertyMetadata
(false));
259
DependencyProperty.RegisterReadOnly("IsPlacementTargetInRibbonGroup", typeof(bool), typeof(RibbonToolTip), new
UIPropertyMetadata
(false));
3 references to UIPropertyMetadata
PresentationCore (3)
System\Windows\Media\Animation\Animatable.cs (1)
117
UIPropertyMetadata
propertyMetadata;
System\Windows\Media\Animation\AnimationStorage.cs (2)
1029
UIPropertyMetadata
uiMetadata = dp.GetMetadata(d.DependencyObjectType) as
UIPropertyMetadata
;