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