2 types derived from UIPropertyMetadata
PresentationCore (1)
System\Windows\Media\Animation\IndependentlyAnimatedPropertyMetadata.cs (1)
10
internal class IndependentlyAnimatedPropertyMetadata :
UIPropertyMetadata
PresentationFramework (1)
System\Windows\FrameworkPropertyMetadata.cs (1)
64
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)
30
new
UIPropertyMetadata
(TextHintingMode.Auto),
System\Windows\Automation\AutomationProperties.cs (14)
18
new
UIPropertyMetadata
(string.Empty),
51
new
UIPropertyMetadata
(string.Empty),
84
new
UIPropertyMetadata
(string.Empty),
117
new
UIPropertyMetadata
(string.Empty),
150
new
UIPropertyMetadata
(string.Empty),
183
new
UIPropertyMetadata
(string.Empty),
216
new
UIPropertyMetadata
(string.Empty),
345
new
UIPropertyMetadata
((UIElement)null));
377
new
UIPropertyMetadata
(IsOffscreenBehavior.Default));
409
new
UIPropertyMetadata
(AutomationLiveSetting.Off));
445
new
UIPropertyMetadata
(AutomationProperties.AutomationPositionInSetDefault));
481
new
UIPropertyMetadata
(AutomationProperties.AutomationSizeOfSetDefault));
510
new
UIPropertyMetadata
(AutomationHeadingLevel.None));
539
new
UIPropertyMetadata
(false));
System\Windows\ContentElement.cs (2)
597
new
UIPropertyMetadata
(
705
new
UIPropertyMetadata
(
System\Windows\Input\Command\InputBinding.cs (1)
57
DependencyProperty.Register("Command", typeof(ICommand), typeof(InputBinding), new
UIPropertyMetadata
(null, new PropertyChangedCallback(OnCommandPropertyChanged)));
System\Windows\Input\Command\KeyBinding.cs (2)
97
DependencyProperty.Register("Modifiers", typeof(ModifierKeys), typeof(KeyBinding), new
UIPropertyMetadata
(ModifierKeys.None, new PropertyChangedCallback(OnModifiersPropertyChanged)));
124
DependencyProperty.Register("Key", typeof(Key), typeof(KeyBinding), new
UIPropertyMetadata
(Key.None, new PropertyChangedCallback(OnKeyPropertyChanged)));
System\Windows\Input\Command\MouseBinding.cs (1)
113
DependencyProperty.Register("MouseAction", typeof(MouseAction), typeof(MouseBinding), new
UIPropertyMetadata
(MouseAction.None, new PropertyChangedCallback(OnMouseActionPropertyChanged)));
System\Windows\InterOp\D3DImage.cs (1)
36
new
UIPropertyMetadata
(
System\Windows\Media\Animation\Animatable.cs (1)
127
propertyMetadata = new
UIPropertyMetadata
(defaultValue);
System\Windows\Media\BitmapCacheBrush.cs (2)
379
TransformProperty.OverrideMetadata(typeofThis, new
UIPropertyMetadata
(null, propertyChangedCallback: null, CoerceTransform));
380
RelativeTransformProperty.OverrideMetadata(typeofThis, new
UIPropertyMetadata
(null, propertyChangedCallback: null, CoerceRelativeTransform));
System\Windows\Media\Effects\ShaderEffect.cs (1)
326
new
UIPropertyMetadata
(Effect.ImplicitInput,
System\Windows\Media\Generated\DrawingGroup.cs (3)
864
new
UIPropertyMetadata
(EdgeMode.Unspecified,
869
new
UIPropertyMetadata
(BitmapScalingMode.Unspecified,
874
new
UIPropertyMetadata
(ClearTypeHint.Auto,
System\Windows\Media\Generated\TileBrush.cs (3)
402
new
UIPropertyMetadata
(CachingHint.Unspecified,
407
new
UIPropertyMetadata
(0.707,
412
new
UIPropertyMetadata
(1.414,
System\Windows\Media\RenderOptions.cs (6)
34
new
UIPropertyMetadata
(EdgeMode.Unspecified),
67
new
UIPropertyMetadata
(BitmapScalingMode.Unspecified),
100
new
UIPropertyMetadata
(ClearTypeHint.Auto),
134
new
UIPropertyMetadata
(CachingHint.Unspecified),
167
new
UIPropertyMetadata
(0.707),
200
new
UIPropertyMetadata
(1.414),
System\Windows\Media3D\Viewport2DVisual3D.cs (3)
874
new
UIPropertyMetadata
(
890
new
UIPropertyMetadata
(
907
new
UIPropertyMetadata
(
System\Windows\UIElement.cs (14)
75
new
UIPropertyMetadata
(new PropertyChangedCallback(EdgeMode_Changed)));
79
new
UIPropertyMetadata
(new PropertyChangedCallback(BitmapScalingMode_Changed)));
83
new
UIPropertyMetadata
(new PropertyChangedCallback(ClearTypeHint_Changed)));
87
new
UIPropertyMetadata
(new PropertyChangedCallback(TextHintingMode_Changed)));
2665
new
UIPropertyMetadata
(
2700
new
UIPropertyMetadata
(new PropertyChangedCallback(OpacityMask_Changed)));
2732
new
UIPropertyMetadata
(new PropertyChangedCallback(OnBitmapEffectChanged)));
2766
new
UIPropertyMetadata
(new PropertyChangedCallback(OnEffectChanged)));
2796
new
UIPropertyMetadata
(new PropertyChangedCallback(OnBitmapEffectInputChanged)));
2873
new
UIPropertyMetadata
(new PropertyChangedCallback(OnCacheModeChanged)));
2921
new
UIPropertyMetadata
(String.Empty));
3563
new
UIPropertyMetadata
(
3689
new
UIPropertyMetadata
(
3917
new
UIPropertyMetadata
(
System\Windows\UIElement3D.cs (3)
803
new
UIPropertyMetadata
(
923
new
UIPropertyMetadata
(
1141
new
UIPropertyMetadata
(
System\Windows\UIPropertyMetadata.cs (1)
86
return new
UIPropertyMetadata
();
PresentationFramework (26)
System\Windows\Controls\ComboBox.cs (2)
58
IsEnabledProperty.OverrideMetadata(typeof(ComboBox), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
59
IsMouseOverPropertyKey.OverrideMetadata(typeof(ComboBox), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\DataGridCell.cs (1)
39
IsMouseOverPropertyKey.OverrideMetadata(typeof(DataGridCell), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\DataGridRow.cs (1)
105
IsMouseOverPropertyKey.OverrideMetadata(typeof(DataGridRow), new
UIPropertyMetadata
(new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged)));
System\Windows\Controls\DatePicker.cs (1)
88
IsEnabledProperty.OverrideMetadata(typeof(DatePicker), new
UIPropertyMetadata
(new PropertyChangedCallback(OnIsEnabledChanged)));
System\Windows\Controls\Expander.cs (2)
59
IsMouseOverPropertyKey.OverrideMetadata(typeof(Expander), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
60
IsEnabledProperty.OverrideMetadata(typeof(Expander), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\ListBoxItem.cs (2)
48
IsEnabledProperty.OverrideMetadata(typeof(ListBoxItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
49
IsMouseOverPropertyKey.OverrideMetadata(typeof(ListBoxItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\PasswordBox.cs (2)
68
IsEnabledProperty.OverrideMetadata(typeof(PasswordBox), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
69
IsMouseOverPropertyKey.OverrideMetadata(typeof(PasswordBox), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\ButtonBase.cs (2)
35
IsMouseOverPropertyKey.OverrideMetadata(typeof(ButtonBase), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
36
IsEnabledProperty.OverrideMetadata(typeof(ButtonBase), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\CalendarItem.cs (1)
63
IsEnabledProperty.OverrideMetadata(typeof(CalendarItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\RangeBase.cs (2)
29
IsEnabledProperty.OverrideMetadata(typeof(RangeBase), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
30
IsMouseOverPropertyKey.OverrideMetadata(typeof(RangeBase), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
61
IsEnabledProperty.OverrideMetadata(typeof(TextBoxBase), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
62
IsMouseOverPropertyKey.OverrideMetadata(typeof(TextBoxBase), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\Thumb.cs (2)
45
IsEnabledProperty.OverrideMetadata(typeof(Thumb), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
46
IsMouseOverPropertyKey.OverrideMetadata(typeof(Thumb), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\Track.cs (1)
34
IsEnabledProperty.OverrideMetadata(typeof(Track), new
UIPropertyMetadata
(new PropertyChangedCallback(OnIsEnabledChanged)));
System\Windows\Controls\TabControl.cs (1)
39
IsEnabledProperty.OverrideMetadata(typeof(TabControl), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\TabItem.cs (2)
54
IsEnabledProperty.OverrideMetadata(typeof(TabItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
55
IsMouseOverPropertyKey.OverrideMetadata(typeof(TabItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\TreeViewItem.cs (2)
38
IsMouseOverPropertyKey.OverrideMetadata(typeof(TreeViewItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
39
IsEnabledProperty.OverrideMetadata(typeof(TreeViewItem), new
UIPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System.Windows.Controls.Ribbon (18)
Microsoft\Windows\Controls\KeyTipService.cs (6)
140
new
UIPropertyMetadata
(null, new PropertyChangedCallback(OnKeyTipScopeChanged)));
427
new
UIPropertyMetadata
(null, new PropertyChangedCallback(OnCustomSiblingKeyTipElementsChanged)));
1290
DependencyProperty.RegisterAttached("CanClipKeyTip", typeof(bool), typeof(KeyTipService), new
UIPropertyMetadata
(true));
1339
DependencyProperty.RegisterAttached("KeyTipAdorner", typeof(KeyTipAdorner), typeof(KeyTipService), new
UIPropertyMetadata
(null));
1342
DependencyProperty.RegisterAttached("KeyTipAdornerHolder", typeof(UIElement), typeof(KeyTipService), new
UIPropertyMetadata
(null));
1346
new
UIPropertyMetadata
(false, new PropertyChangedCallback(OnShowingKeyTipChanged)));
Microsoft\Windows\Controls\Ribbon\Primitives\StarLayoutInfo.cs (4)
30
new
UIPropertyMetadata
(0.0),
44
new
UIPropertyMetadata
(0.0, new PropertyChangedCallback(OnRequestedStarMinWidthChanged)),
58
new
UIPropertyMetadata
(double.PositiveInfinity, null, new CoerceValueCallback(OnCoerceRequestedStarMaxWidth)),
72
new
UIPropertyMetadata
(0.0, null, new CoerceValueCallback(OnCoerceAllocatedStarWidth)));
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
204
new
UIPropertyMetadata
(Visibility.Visible, OnWindowIconVisibilityChanged));
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
126
DependencyProperty.Register("ContextualTabGroupHeader", typeof(object), typeof(RibbonTab), new
UIPropertyMetadata
(null, new PropertyChangedCallback(OnContextualTabGroupHeaderChanged)));
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (6)
156
DependencyProperty.RegisterReadOnly("HasHeader", typeof(bool), typeof(RibbonToolTip), new
UIPropertyMetadata
(false));
189
DependencyProperty.Register("FooterTitle", typeof(string), typeof(RibbonToolTip), new
UIPropertyMetadata
(new PropertyChangedCallback(OnToolTipFooterPropertyChanged)));
204
DependencyProperty.Register("FooterDescription", typeof(string), typeof(RibbonToolTip), new
UIPropertyMetadata
(new PropertyChangedCallback(OnToolTipFooterPropertyChanged)));
219
DependencyProperty.Register("FooterImageSource", typeof(ImageSource), typeof(RibbonToolTip), new
UIPropertyMetadata
(new PropertyChangedCallback(OnToolTipFooterPropertyChanged)));
234
DependencyProperty.RegisterReadOnly("HasFooter", typeof(bool), typeof(RibbonToolTip), new
UIPropertyMetadata
(false));
258
DependencyProperty.RegisterReadOnly("IsPlacementTargetInRibbonGroup", typeof(bool), typeof(RibbonToolTip), new
UIPropertyMetadata
(false));
3 references to UIPropertyMetadata
PresentationCore (3)
System\Windows\Media\Animation\Animatable.cs (1)
116
UIPropertyMetadata
propertyMetadata;
System\Windows\Media\Animation\AnimationStorage.cs (2)
1028
UIPropertyMetadata
uiMetadata = dp.GetMetadata(d.DependencyObjectType) as
UIPropertyMetadata
;