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)
134
propertyMetadata = new
UIPropertyMetadata
(defaultValue);
System\Windows\Media\BitmapCacheBrush.cs (2)
386
TransformProperty.OverrideMetadata(typeofThis, new
UIPropertyMetadata
(null, /* PropertyChangedHandle */ null, CoerceTransform));
387
RelativeTransformProperty.OverrideMetadata(typeofThis, new
UIPropertyMetadata
(null, /* PropertyChangedHandle */ null, CoerceRelativeTransform));
System\Windows\Media\Effects\ShaderEffect.cs (1)
330
new
UIPropertyMetadata
(Effect.ImplicitInput,
System\Windows\Media\Generated\DrawingGroup.cs (3)
830
new
UIPropertyMetadata
(EdgeMode.Unspecified,
835
new
UIPropertyMetadata
(BitmapScalingMode.Unspecified,
840
new
UIPropertyMetadata
(ClearTypeHint.Auto,
System\Windows\Media\Generated\TileBrush.cs (3)
391
new
UIPropertyMetadata
(CachingHint.Unspecified,
396
new
UIPropertyMetadata
(0.707,
401
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));
3570
new
UIPropertyMetadata
(
3697
new
UIPropertyMetadata
(
3925
new
UIPropertyMetadata
(
System\Windows\UIElement3D.cs (3)
804
new
UIPropertyMetadata
(
925
new
UIPropertyMetadata
(
1143
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)));
431
new
UIPropertyMetadata
(null, new PropertyChangedCallback(OnCustomSiblingKeyTipElementsChanged)));
1300
DependencyProperty.RegisterAttached("CanClipKeyTip", typeof(bool), typeof(KeyTipService), new
UIPropertyMetadata
(true));
1349
DependencyProperty.RegisterAttached("KeyTipAdorner", typeof(KeyTipAdorner), typeof(KeyTipService), new
UIPropertyMetadata
(null));
1352
DependencyProperty.RegisterAttached("KeyTipAdornerHolder", typeof(UIElement), typeof(KeyTipService), new
UIPropertyMetadata
(null));
1356
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)
123
UIPropertyMetadata
propertyMetadata;
System\Windows\Media\Animation\AnimationStorage.cs (2)
1035
UIPropertyMetadata
uiMetadata = dp.GetMetadata(d.DependencyObjectType) as
UIPropertyMetadata
;