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